This afternoon i update my sdk,then i ran my app just as usual,i got an error like this.
${dir}\[appname]-debug-androidTest-unaligned.apk
does not exist on disk
i try to build and clean the project,but no use.I use android-studio.
This afternoon i update my sdk,then i ran my app just as usual,i got an error like this.
${dir}\[appname]-debug-androidTest-unaligned.apk
does not exist on disk
i try to build and clean the project,but no use.I use android-studio.
Run ./gradlew assembleAndroidTest
gradle task and it should be created in outputs directory, but it gets ereased on every project clean
Go to your project folder. Open ProjectName folder.
In file Your_Project_name.iml
Add if not OR check path
<option name="APK_PATH" value="/build/apk/your_app_name-debug-unaligned.apk" />
Or
<option name="APK_PATH" value="/build/outputs/apk/your_app_name-debug-unaligned.apk"/>
check this answer for more information.