Android APK not installing in device

34
January 11, 2019, at 7:20 PM

I have created Same project as two WorkSpace in my system . ex: AppSampleHindi and AppSampleEnglish,

  1. once i run the app i am getting error so how to solve this error.
  2. and instant run option is not there in my android studio

$ adb install-multiple -r -t /Users/Name/Desktop/AppName/app/build/intermediates/resources/instant-run/debug/resources-debug.apk  
Error while installing apk

Answer 1

Make sure that the two projects have different package names, otherwise installation will fail. Open your AndroidManifest.xml file and look for "package" property.

READ ALSO
Android: Testing an ExecutorService on the main thread

Android: Testing an ExecutorService on the main thread

I'm having a ViewModel with a code that is running inside the execute block (inside a Runnable)It all works fine, except that I can't successfully make the code run in the main thread when unit testing it (even debugging it, I can see the code inside...

15
assigning a unique id for button [on hold]

assigning a unique id for button [on hold]

suppose there exist a form and has two button ,i want one button to get disabled until all parameter is filled by user while other Enabled,for users to navigate to back panelIs there exist a function to assign unique id to buttons?

39
Representing an ArrayList in a TextView

Representing an ArrayList in a TextView

I have created an ArrayList in an Android

17