I am using the latest version of Android studio on linux (elementary moon for a specific one). I installed jdk, android studio and sdk successfully, android studio opens to us perfectly, and even I can work on my application. but when I am a bulid application, it gives error 13: permission is denied and opens a new png page on the draft circle in a new tab.
Information:Gradle tasks [:app:compileDebugSources] :app:preBuild :app:preDebugBuild :app:checkDebugManifest :app:preReleaseBuild :app:prepareComAndroidSupportAppcompatV72103Library UP-TO-DATE :app:prepareComAndroidSupportSupportV42103Library UP-TO-DATE :app:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources :app:mergeDebugResources FAILED /home/suUs12/AndroidStudioProjects/MyApplication/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-mdpi/abc_btn_radio_to_on_mtrl_000.png Error:Error: Cannot run program "/home/suUs12/Android/Sdk/build-tools/21.1.2/aapt": error=13, Permission denied Error:Execution failed for task ':app:mergeDebugResources'. > /home/suUs12/AndroidStudioProjects/MyApplication/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-mdpi/abc_btn_radio_to_on_mtrl_000.png: Error: Cannot run program "/home/suUs12/Android/Sdk/build-tools/21.1.2/aapt": error=13, Permission denied Information:BUILD FAILED Information:Total time: 30.305 secs Information:2 errors Information:0 warnings
I do not understand the problem. I searched the Internet and tried many methods such as
it is successful, but does not affect the problem itself,
2. close and re-import the project,
3.i also tried this,
sudo apt-get install lib32stdc++ sudo apt-get install lib32z1
and I get the following result
suUs12@suUs12 :~/Android/Sdk$ sudo apt-get install lib32stdc++6 Reading package lists... Done Building dependency tree Reading state information... Done Package lib32stdc++6 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'lib32stdc++6' has no installation candidate
I think this is not a problem, since my system is 32 bit, and this is for 64-bit systems.
Can anyone help? since I really count on it.
my system configurations: (if useful)
-OS Version: 0.2.1 "Moon" (32-bit), Built on: Ubuntu 12.04 ("Accurate")
-opened OpenJdk 7: java version "1.6.0_34" OpenJDK working environment (IcedTea6 1.13.6) (6b34-1.13.6-1ubuntu0.12.04.1)
OpenJDK Client VM (build 23.25-b01, mixed mode, sharing)