deployment - Android Studio - local path doesn't exist -


after updating android studio 0.2.4 can't project deploy. there complete mismatch of apk filename.

waiting device. target device: 0146b0020e010020 uploading file     local path: /home/martin/workspace/git/projectname/projectname/project/build/classes/debug/appname.apk     remote path: /data/local/tmp/com.xxx.xxx.android.projectname local path doesn't exist. 

after reading posts here, changed output path build/apk folder, issue remains. instead of created projectname-debug-unaligned.apk looking projectname.apk , have no idea how , can tell him change name looking for. ideas?

ps: yes have read several posts shown in list on right side. restart of ide worked coworker, not me.

edit:

i stumbled one issue next reverted downloadable version find: 0.2.0.

no disappearing ui elements, can create new projects and, best of all, can deploy apk studio device again. try 0.2.5 released.

i saw error after upgrading 0.2.13 0.3. these instructions have been updated release of android studio 0.5.2. these steps completed resolve issue.

1.in build.gradle make sure gradle set 0.9.0

buildscript {     repositories {         mavencentral()     }     dependencies {         classpath 'com.android.tools.build:gradle:0.9.0'     } } 

2.in gradle-wrapper.properties make sure 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 gradle files pressing button left of avd button

enter image description here

4.try build project again. if still having issues possibly try file > invalidate caches/restart

note: if using 0.9.+ , gives could not 'http://repo1.maven.org/maven2/com/android/tools/build/gradle/'. received status code 401 server: unauthorized (happens sporadically) change 0.9.0. also, have use build tools 19.0 or greater believe make sure have downloaded in sdk manager , use buildtoolsversion in whichever gradle file holds info.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -