I followed a tutorial with adb commands to install an application on my phone, but it is nowhere to be found on my phone.
I used the following command:
adb install androidapp.apk
Can someone please help me? It'll be really appreciated.
I followed a tutorial with adb commands to install an application on my phone, but it is nowhere to be found on my phone.
I used the following command:
adb install androidapp.apk
Can someone please help me? It'll be really appreciated.
Procedure to install the apk files in Android Emulator(AVD):
Check your installed directory(ex: C:\Program Files (x86)\Android\android-sdk\tools), whether it has the adb.exe or not). If not present in this folder, then download the attachment here, extract the zip files. You will get adb files, copy and paste those three files inside tools folder
Run AVD manager from C:\Program Files (x86)\Android\android-sdk and start the Android Emulator.
Copy and paste the apk file inside the C:\Program Files (x86)\Android\android-sdk\tools
Go to Start -> Run -> cmd
Type cd “C:\Program Files (x86)\Android\android-sdk\tools”
Type adb install example.apk
After getting success command
Go to Application icon in Android emulator, we can see the your application
Thank you.
when application run on emulator it creates an .apk file on project/bin folder. you just connect your android phone with usb mass storage and then copy this apk to SD card. it will then install the app on phone by clicking the apk file on phone. Otherwise post your code to check
If you're compiling and exporting your apk file under SDK version 2.1, it will not work on any android version below your SDK export "2.1". Android software is forward compatible not backward compatible. For example if you're programming using the android NDK (ann add-on to the android SDK) package that allows development in the C/C++ family, this is only compatible with android 2.3, android version 2.2 and below support java builds only. Therefore you will reaceive the "There is a problem parsing the package" error.
Create one new Project and choose AVD with version 2.1 now try to run in both