Android Studio APK install error: local path doesn't exist
Figured it out. My project was depending on both the aar and the project itself.
File -> Project Structure -> Modules -> Your Project -> Dependencies -> Uncheck the project (only depend on the aar)
Android Studio - local path doesn't exist
I originally saw this error after upgrading from 0.2.13 to 0.3. These instructions have been updated for the release of Android Studio 0.5.2. These are the steps I completed to resolve the issue.
1.In build.gradle make sure gradle is set to 0.9.0
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.0'
}
}
2.In gradle-wrapper.properties make sure to use gradle 1.11
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
3.Sync project with gradle files by pressing the button to the left of the avd button
4.Try to build project again. If still having issues possibly try File > Invalidate Caches/Restart
NOTE: If you are using 0.9.+
and it gives Could not GET 'http://repo1.maven.org/maven2/com/android/tools/build/gradle/'. Received status code 401 from server: Unauthorized
(happens sporadically) then change to 0.9.0
. Also, you have to use build tools 19.0 or greater I believe so make sure you have those downloaded in sdk manager and use as buildToolsVersion
in whichever gradle file holds that info.
Android Studio 1.0.2 Error - Local path doesn't exist
I can see android studio searching for the path you mentioned:
local path: C:\Users\FV\Desktop\ \Project1\app\build\outputs\apk\app-debug.apk
I noticed there's a block in the path that states:
Desktop\ \Project1
Unless that's a typo, I think that's why Android Studio fails to find the path, Android Studio warns you against using paths with spaces or special characters in them while creating your project, because it might fail to find the path, and that might cause problems like the one you are experiencing.
Please try to move your project directory to a more conventional path (C:\Project1 is the safest bet, but others can be used aswell) and see if you are still having this issue
android gradle Local path doesn't exist
Instead of editing your manifest file during the build, you can override the version name in the android section of your manifest :
android {
...
defaultConfig {
versionName someScriptToComputeVersionName()
...
And there is at least 2 good reasons to do it that way :
- the build process won't change your source code (i.e. AndroidManifest.xml will not be modified - at least the AndroidManifest.xml in your editable sources won't be modified)
- there are good chances that Android Studio will be happy.
Now your problem is to define correctly the function someScriptToComputeVersionName()
, that's up to you.
IMO, simply incrementing a number is probably not the best choice and you should probably go for a solution were you build the version name based on VCS revision number.
Local Path doesn't exist Android Studio 1.0
Try this. It helped me, FINALLY !!!
- close android studio
- Download http://goo.gl/v0UPm6
- goto \sdk
- rename 'tools' to 'tools1' (In case you need backup)
- extract this zip to \sdk
- it will make tools folder in \sdk
- restart studio and errors will be gone
Source: Google Plus
PD: Thank you, Aman ;) PD2: Android SDK Tools 24.0.1 is coming !!!
Related Topics
An Established Connection Was Aborted by the Software in Your Host MAChine
How to Get the Height and Width of the Android Navigation Bar Programmatically
Error:(6, 0) Gradle Dsl Method Not Found: 'Google()'
How to Create a Circular Progressbar in Android Which Rotates on It
How to Create Custom Button in Android Using Xml Styles
How to Set Android Camera Orientation Properly
How to Put Multiple Project_Number/Sender Id in Google-Services.JSON
Android Singletask or Singleinstance Launch Mode
How to Change the Radio Button Icon in an Android Radio Button Group
How to Override the 'Home' Button in My Application
Android Map V2 Zoom to Show All the Markers
Select Multiple Images from Android Gallery
Determine Whether JSON Is a JSONobject or JSONarray
How to Play Videos in Android from Assets Folder or Raw Folder