1

I am working on an android app using both JDK and NDK, and it looks like I always need to uninstall the application in order for Android Studio to install the APK after changes are made.

I tried unchecking the "Skip installation if APK has not changed" checkbox, but this hasn't helped.

I am working under Android Studio 2.1.3 on Ubuntu 16.04

2
  • 2
    "it looks like" -- please explain, in detail, how you came to this conclusion. With Android Studio 2.x, Instant Run is enabled by default, and this will patch your existing APK (more or less) with changes. Aug 25, 2016 at 12:03
  • @CommonsWare well I tried adding logs in onCreate and onTouch events to try it, and I couldn't get anything in the log. I also tried adding a TextView, and that didn't show up either. I did however get the changes to work after uninstalling the app. I also noticed that in the bottom bar, when I run the app, only "Launching activity" is displayed, and at no time does "Installing APK" seem to show up, unless I uninstall the application Aug 25, 2016 at 12:10

1 Answer 1

2

May be its with Instant run... make sure its off..

Reference :https://developer.android.com/studio/run/index.html

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.