• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Simple app won't build

FooIsFood

Lurker
Hi,
I'm getting this error when trying to build a simple app - it works on my other box though. I'm working with Fedora 20 and the Android Studio beta, here's the gradle output:

"Information:Gradle tasks [:app:compileDebugJava]
The client will now receive all logging from the daemon (pid: 2471). The daemon log file: /home/johnm/.gradle/daemon/1.12/daemon-2471.out.log
Executing build with daemon context: DefaultDaemonContext[uid=288cdbfd-c6b8-4851-9c49-26823382769f,javaHome=/usr/java/jdk1.7.0_67,daemonRegistryDir=/home/johnm/.gradle/daemon,pid=2471,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8]
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Starting Build
Settings evaluated using settings file '/home/johnm/AndroidStudioProjects/FirstApplication/settings.gradle'.
Projects loaded. Root project using build file '/home/johnm/AndroidStudioProjects/FirstApplication/build.gradle'.
Included projects: [root project 'FirstApplication', project ':app']
In-memory cache of /home/johnm/AndroidStudioProjects/FirstApplication/.gradle/1.12/taskArtifacts/fileHashes.bin: Size{15}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of /home/johnm/AndroidStudioProjects/FirstApplication/.gradle/1.12/taskArtifacts/outputFileStates.bin: Size{12}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of /home/johnm/AndroidStudioProjects/FirstApplication/.gradle/1.12/taskArtifacts/fileSnapshots.bin: Size{18}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of /home/johnm/AndroidStudioProjects/FirstApplication/.gradle/1.12/taskArtifacts/taskArtifacts.bin: Size{6}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
Evaluating root project 'FirstApplication' using build file '/home/johnm/AndroidStudioProjects/FirstApplication/build.gradle'.
Evaluating project ':app' using build file '/home/johnm/AndroidStudioProjects/FirstApplication/app/build.gradle'.
Selected primary task ':app:compileDebugJava'
All projects evaluated.
Tasks to be executed: [task ':app:preBuild', task ':app:preDebugBuild', task ':app:checkDebugManifest', task ':app:prepareDebugDependencies', task ':app:compileDebugAidl', task ':app:compileDebugRenderscript', task ':app:generateDebugBuildConfig', task ':app:generateDebugAssets', task ':app:mergeDebugAssets', task ':app:generateDebugResValues', task ':app:generateDebugResources', task ':app:mergeDebugResources', task ':app:processDebugManifest', task ':app:processDebugResources', task ':app:generateDebugSources', task ':app:compileDebugJava']
:app:preBuild (Thread[Daemon Thread 6,5,main]) started.
:app:preBuild
Executing task ':app:preBuild' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
:app:preBuild (Thread[Daemon Thread 6,5,main]) completed. Took 0.066 secs.
:app:preDebugBuild (Thread[Daemon Thread 6,5,main]) started.
:app:preDebugBuild
Skipping task ':app:preDebugBuild' as it has no actions.
:app:preDebugBuild (Thread[Daemon Thread 6,5,main]) completed. Took 0.002 secs.
:app:checkDebugManifest (Thread[Daemon Thread 6,5,main]) started.
:app:checkDebugManifest
Executing task ':app:checkDebugManifest' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
:app:checkDebugManifest (Thread[Daemon Thread 6,5,main]) completed. Took 0.005 secs.
:app:prepareDebugDependencies (Thread[Daemon Thread 6,5,main]) started.
:app:prepareDebugDependencies
Executing task ':app:prepareDebugDependencies' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
:app:prepareDebugDependencies (Thread[Daemon Thread 6,5,main]) completed. Took 0.006 secs.
:app:compileDebugAidl (Thread[Daemon Thread 6,5,main]) started.
:app:compileDebugAidl
Skipping task ':app:compileDebugAidl' as it is up-to-date (took 0.008 secs).
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugAidl (Thread[Daemon Thread 6,5,main]) completed. Took 0.013 secs.
:app:compileDebugRenderscript (Thread[Daemon Thread 6,5,main]) started.
:app:compileDebugRenderscript
Skipping task ':app:compileDebugRenderscript' as it is up-to-date (took 0.009 secs).
:app:compileDebugRenderscript UP-TO-DATE
:app:compileDebugRenderscript (Thread[Daemon Thread 6,5,main]) completed. Took 0.02 secs.
:app:generateDebugBuildConfig (Thread[Daemon Thread 6,5,main]) started.
:app:generateDebugBuildConfig
Skipping task ':app:generateDebugBuildConfig' as it is up-to-date (took 0.011 secs).
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugBuildConfig (Thread[Daemon Thread 6,5,main]) completed. Took 0.049 secs.
:app:generateDebugAssets (Thread[Daemon Thread 6,5,main]) started.
:app:generateDebugAssets
Skipping task ':app:generateDebugAssets' as it has no actions.
:app:generateDebugAssets UP-TO-DATE
:app:generateDebugAssets (Thread[Daemon Thread 6,5,main]) completed. Took 0.003 secs.
:app:mergeDebugAssets (Thread[Daemon Thread 6,5,main]) started.
:app:mergeDebugAssets
Skipping task ':app:mergeDebugAssets' as it is up-to-date (took 0.004 secs).
:app:mergeDebugAssets UP-TO-DATE
:app:mergeDebugAssets (Thread[Daemon Thread 6,5,main]) completed. Took 0.008 secs.
:app:generateDebugResValues (Thread[Daemon Thread 6,5,main]) started.
:app:generateDebugResValues
Skipping task ':app:generateDebugResValues' as it is up-to-date (took 0.004 secs).
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResValues (Thread[Daemon Thread 6,5,main]) completed. Took 0.007 secs.
:app:generateDebugResources (Thread[Daemon Thread 6,5,main]) started.
:app:generateDebugResources
Skipping task ':app:generateDebugResources' as it has no actions.
:app:generateDebugResources UP-TO-DATE
:app:generateDebugResources (Thread[Daemon Thread 6,5,main]) completed. Took 0.009 secs.
:app:mergeDebugResources (Thread[Daemon Thread 6,5,main]) started.
:app:mergeDebugResources
Executing task ':app:mergeDebugResources' (up-to-date check took 0.045 secs) due to:
No history is available.
All input files are considered out-of-date for incremental task ':app:mergeDebugResources'.
Unable do incremental execution: full task run
command: /home/johnm/Development/android-studio/sdk/build-tools/android-4.4W/aapt s -i /home/johnm/AndroidStudioProjects/FirstApplication/app/src/main/res/drawable-hdpi/ic_launcher.png -o /home/johnm/AndroidStudioProjects/FirstApplication/app/build/intermediates/res/debug/drawable-hdpi-v4/ic_launcher.png
command: /home/johnm/Development/android-studio/sdk/build-tools/android-4.4W/aapt s -i /home/johnm/AndroidStudioProjects/FirstApplication/app/src/main/res/drawable-mdpi/ic_launcher.png -o /home/johnm/AndroidStudioProjects/FirstApplication/app/build/intermediates/res/debug/drawable-mdpi-v4/ic_launcher.png
command: /home/johnm/Development/android-studio/sdk/build-tools/android-4.4W/aapt s -i /home/johnm/AndroidStudioProjects/FirstApplication/app/src/main/res/drawable-xhdpi/ic_launcher.png -o /home/johnm/AndroidStudioProjects/FirstApplication/app/build/intermediates/res/debug/drawable-xhdpi-v4/ic_launcher.png
command: /home/johnm/Development/android-studio/sdk/build-tools/android-4.4W/aapt s -i /home/johnm/AndroidStudioProjects/FirstApplication/app/src/main/res/drawable-xxhdpi/ic_launcher.png -o /home/johnm/AndroidStudioProjects/FirstApplication/app/build/intermediates/res/debug/drawable-xxhdpi-v4/ic_launcher.png
/home/johnm/AndroidStudioProjects/FirstApplication/app/src/main/res/drawable-hdpi/ic_launcher.png
Error:Error: Cannot run program "/home/johnm/Development/android-studio/sdk/build-tools/android-4.4W/aapt": error=2, No such file or directory
:app:mergeDebugResources FAILED
:app:mergeDebugResources (Thread[Daemon Thread 6,5,main]) completed. Took 0.472 secs.
FAILURE: Build failed with an exception.
Information:BUILD FAILED
Information:Total time: 4.342 secs
Stopped 0 compiler daemon(s).
Information:1 error
Information:0 warnings
Information:See complete output in console"

any ideas?
Thanks
 
Back
Top Bottom