<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ProcessException: No such file or directory
  Command: 
/home/appname/dev/android-sdk-linux/build-tools/23.0.2/aapt package 
-M android/AndroidManifest.xml 
-A /tmp/flutter_tools7u0DqJ/assets 
-I /home/appname/dev/android-sdk-linux/platforms/android-23/android.jar 
-F /tmp/flutter_tools7u0DqJ/app.apk.unaligned 
-S /home/appname/dev/bitbucket/appname-web/src/main/dart/appname-flutter/android/res /tmp/flutter_tools7u0DqJ/artifacts

dart:io                                                           Process.runSync
package:flutter_tools/src/base/process.dart 98                    _runWithLoggingSync
package:flutter_tools/src/base/process.dart 69                    runCheckedSync
package:flutter_tools/src/commands/apk.dart 100                   _ApkBuilder.package
package:flutter_tools/src/commands/apk.dart 286                   _buildApk
package:flutter_tools/src/commands/apk.dart 414                   buildAndroid.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 197                            buildInTempDir.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 295                            assemble.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flx/signing.dart 44                                       CipherParameters.seedRandom.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _Completer.completeError
package:flutter_tools/src/commands/apk.dart 423                   buildAndroid.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 197                            buildInTempDir.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 295                            assemble.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flx/signing.dart 44                                       CipherParameters.seedRandom.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/commands/apk.dart                       buildAndroid
package:flutter_tools/src/commands/apk.dart 451                   buildAll.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        Future.Future.microtask
package:flutter_tools/src/commands/apk.dart                       buildAll
package:flutter_tools/src/commands/run.dart 158                   startApp.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        Future.Future.microtask
package:flutter_tools/src/commands/run.dart                       startApp
package:flutter_tools/src/commands/run.dart 109                   RunCommand.runInProject.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/runner/flutter_command.dart 35          FlutterCommand.downloadToolchain.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/toolchain.dart 56                       Toolchain.forConfigs.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/toolchain.dart 44                       _getCompilerPath.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/artifacts.dart 214                      ArtifactStore.getPath.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/commands/run.dart                       RunCommand.runInProject
package:flutter_tools/src/runner/flutter_command.dart 87          FlutterCommand.run.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/runner/flutter_command.dart 133         FlutterCommand._getDevicesForCommand.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/device.dart 60                          DeviceManager.getAllConnectedDevices.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command.dart             FlutterCommand.run
package:flutter_tools/src/commands/run.dart 86                    RunCommand.run.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/dart/pub.dart 43                        pubGet.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/commands/run.dart                       RunCommand.run
package:args/command_runner.dart 176                              CommandRunner.runCommand.&lt;fn&gt;
dart:async                                                        Future.Future.sync
package:args/command_runner.dart 129                              CommandRunner.runCommand
package:flutter_tools/src/runner/flutter_command_runner.dart 201  FlutterCommandRunner.runCommand
package:args/command_runner.dart 103                              CommandRunner.run.&lt;fn&gt;
dart:async                                                        Future.Future.sync
package:args/command_runner.dart 103                              CommandRunner.run
package:flutter_tools/executable.dart 72                          main.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt;
===== asynchronous gap ===========================
package:stack_trace                                               Chain.capture
package:flutter_tools/executable.dart 65                          main.&lt;async&gt;"><pre class="notranslate"><code class="notranslate">ProcessException: No such file or directory
  Command: 
/home/appname/dev/android-sdk-linux/build-tools/23.0.2/aapt package 
-M android/AndroidManifest.xml 
-A /tmp/flutter_tools7u0DqJ/assets 
-I /home/appname/dev/android-sdk-linux/platforms/android-23/android.jar 
-F /tmp/flutter_tools7u0DqJ/app.apk.unaligned 
-S /home/appname/dev/bitbucket/appname-web/src/main/dart/appname-flutter/android/res /tmp/flutter_tools7u0DqJ/artifacts

dart:io                                                           Process.runSync
package:flutter_tools/src/base/process.dart 98                    _runWithLoggingSync
package:flutter_tools/src/base/process.dart 69                    runCheckedSync
package:flutter_tools/src/commands/apk.dart 100                   _ApkBuilder.package
package:flutter_tools/src/commands/apk.dart 286                   _buildApk
package:flutter_tools/src/commands/apk.dart 414                   buildAndroid.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 197                            buildInTempDir.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 295                            assemble.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flx/signing.dart 44                                       CipherParameters.seedRandom.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _Completer.completeError
package:flutter_tools/src/commands/apk.dart 423                   buildAndroid.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 197                            buildInTempDir.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/flx.dart 295                            assemble.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flx/signing.dart 44                                       CipherParameters.seedRandom.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/commands/apk.dart                       buildAndroid
package:flutter_tools/src/commands/apk.dart 451                   buildAll.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        Future.Future.microtask
package:flutter_tools/src/commands/apk.dart                       buildAll
package:flutter_tools/src/commands/run.dart 158                   startApp.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        Future.Future.microtask
package:flutter_tools/src/commands/run.dart                       startApp
package:flutter_tools/src/commands/run.dart 109                   RunCommand.runInProject.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/runner/flutter_command.dart 35          FlutterCommand.downloadToolchain.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/toolchain.dart 56                       Toolchain.forConfigs.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/toolchain.dart 44                       _getCompilerPath.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/artifacts.dart 214                      ArtifactStore.getPath.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/commands/run.dart                       RunCommand.runInProject
package:flutter_tools/src/runner/flutter_command.dart 87          FlutterCommand.run.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/runner/flutter_command.dart 133         FlutterCommand._getDevicesForCommand.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/device.dart 60                          DeviceManager.getAllConnectedDevices.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/runner/flutter_command.dart             FlutterCommand.run
package:flutter_tools/src/commands/run.dart 86                    RunCommand.run.&lt;async&gt;
dart:async                                                        _SyncCompleter.complete
package:flutter_tools/src/dart/pub.dart 43                        pubGet.&lt;async&gt;
===== asynchronous gap ===========================
dart:async                                                        _asyncThenWrapperHelper
package:flutter_tools/src/commands/run.dart                       RunCommand.run
package:args/command_runner.dart 176                              CommandRunner.runCommand.&lt;fn&gt;
dart:async                                                        Future.Future.sync
package:args/command_runner.dart 129                              CommandRunner.runCommand
package:flutter_tools/src/runner/flutter_command_runner.dart 201  FlutterCommandRunner.runCommand
package:args/command_runner.dart 103                              CommandRunner.run.&lt;fn&gt;
dart:async                                                        Future.Future.sync
package:args/command_runner.dart 103                              CommandRunner.run
package:flutter_tools/executable.dart 72                          main.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt;
===== asynchronous gap ===========================
package:stack_trace                                               Chain.capture
package:flutter_tools/executable.dart 65                          main.&lt;async&gt;
</code></pre></div>
<hr>
<p dir="auto">flutter doctor</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Flutter root: /home/appname/dev/github/flutter.

[✓] Android toolchain - develop for Android devices (installed)
  [✓] Android SDK - enable development for Android devices (installed)

[✓] Atom development environment - a lightweight development environment for Flutter (installed)
  [✓] Atom editor (installed)
  [✓] Flutter plugin - adds Flutter specific functionality to Atom (installed)

Flutter from https://github.com/flutter/flutter.git (on alpha)
flutter revision: 4860e63f444cf3786a6b136430f3058a7b851041 (12 hours ago)
engine revision : a53faaf7983025f83a2059021a409c6e98beb58d"><pre class="notranslate"><code class="notranslate">Flutter root: /home/appname/dev/github/flutter.

[✓] Android toolchain - develop for Android devices (installed)
  [✓] Android SDK - enable development for Android devices (installed)

[✓] Atom development environment - a lightweight development environment for Flutter (installed)
  [✓] Atom editor (installed)
  [✓] Flutter plugin - adds Flutter specific functionality to Atom (installed)

Flutter from https://github.com/flutter/flutter.git (on alpha)
flutter revision: 4860e63f444cf3786a6b136430f3058a7b851041 (12 hours ago)
engine revision : a53faaf7983025f83a2059021a409c6e98beb58d
</code></pre></div>
<hr>
<p dir="auto">This is on a brand new project generated by flutter create.  flutter devices sees my phone.  flutter run or flutter apk from command line, same error. flutter build seems to work.</p>
<p dir="auto">Ubuntu/VirtualBox</p>
<p dir="auto">I checked the existence of all the fixed files.  Seems to be related to one of the temp paths.  Any ideas?</p>
<p dir="auto">In compiling an app via flutter start you can get an error saying it can't find/execute aapt.</p>
<p dir="auto">This is due to the issue outlined here:</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/19523502/how-to-make-androids-aapt-and-adb-work-on-64-bit-ubuntu-without-ia32-libs-work" rel="nofollow">http://stackoverflow.com/questions/19523502/how-to-make-androids-aapt-and-adb-work-on-64-bit-ubuntu-without-ia32-libs-work</a></p>
<p dir="auto">I ran into this over the weekend and without stumbling across that stack overflow I wouldn't have been able to get my flutter app to work for android.</p>