I build an app using these instructions: http://developer.coronalabs.com/content/build-android-devices-windows. When I connect my device with USB cable and transfer the .APK file. And when I try to install the app, I get an error message which simple says that the app has not been installed or something like that. The app(game) is working fine in the Corona Simulator but not in the real device.
This is the app - https://www.dropbox.com/s/j6jft1y81klh8gz/BlackJack.apk
(but actually I'm getting this error in my device whatever app I trying to install).
And I'm using Samsung Galaxy Y GT-S5360, android 2.3.5 (Gingerbread).
Thank you for any help.
The problems come's from the processor of the phone it uses ARMv6 processor which does not support by the new SDK Build of Corona
see this link it has the same problem as yours http://forums.coronalabs.com/topic/21994-resolved-armv6-support/
Since you mentioned that you receive the error no matter what app you are trying to install, make sure that you have enabled Unknown sources on your device in order to be able to install APK files directly. This location of this setting is usually found in the Security setting.
Related
I'm trying to migrate our existing app the Huawei App Gallery. In order to test the Huawei AGC, I tried installing a sample Android app to this Huawei P40 Pro (ELS-NX9) device, but I keep getting this error. This app is nothing but a basic app in Android studio. I have configured the project according to Huawei AGC instructions as well.
This is what I get
Launching 'app' on Physical Device.
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_ABORTED
Installation failed due to: 'null'
Retry
However, I can install the same app in other physical devices.
My Android studio version is 4.1.1
I tried the given tips on this, this and several other questions relevant to similar issues but still no luck.
Please try the following steps below:
Enable Developer options.
Disable Monitor apps installed by ADB.
Result:
I am developing a mobile application using PhoneGap 2.9 and Eclipse Juno for Android. I run with no problems my application in my mobile phone but when I connect another mobile phone or Android tablet, Eclipse doesn't recognize them as devices so, I can't run my application.
I checked that those devices have not the minimum API level that is required and that the development tools and USB debugging are enabled in all of them.
I don't know if this has something to do with my problem, but the only device that runs the application and being recognized, is the one that I connected with Eclipse from the very first time.
This is the specific tutorial that I used in order to solve my problem. Except from that tutorial, i used this tutorial to download and manually install the USB Driver needed. Also with this tutorial, I installed the driver in my hardware device (Android Phone). I haven't test it with Android tablets but it works fine with other mobile phones than mine.
I'm trying to write android applications with Qt5.1. I installed everything according to these instructions and I wrote my application and built it successfully. My problem is that when I click run on android version, instead of running the application on the device that I have connected or even asking whether I want to use the virtual device or physical device ( like eclipse does ) it just opens ADV.
I know I have connected my device properly because I can run applications I write with eclipse on my device. But not with Qt.
Can anybody help me?
Just in case you need to know I'm using the latest version of ndk and for sdk I'm using the one that comes with adt's latest version. If any other information I should provide please let me know.
thank you
I have had this problem as well, your device is not corresponding with the QT run settings. When you press run (probably in QT Creator?) it will search for devices which allow the application to run on.
There are a few possibilities when it comes to this:
Your device is not set up correctly:
run "adb start-server" and then "adb devices" in your command prompt. Does it say it found 1 device with status: "device"? If not your device probably doesn't have USB debugging enabled (you can enable this in the dev settings on your device).
You are building in the wrong mode:
Make sure you are creating a program for ARM (ARM GCC 4.7 QT 5.1 for example).
Deploying for the wrong API level:
Are you running the program on a device that supports API level 17 ? If not you can change these settings (API Level) in your QT project settings.
You don't have the recent API level installed:
Start the android sdk manager and download + install the new API's.
It worked for me after performing these steps, should you have any other difficulties feel free to ask!
Edit
If these steps did not work check if your android sdk is located in a location with write permission.
I have downloaded some sample source codes, modified them and made a audio-video player.
The player is supporting minimum Android version 2.2. I ran the app in my tab, as well as phone.
It's working fine for my Android phone, but not in my tab. I am not sure why this is happening.
I am not even able to install the .apk file in my Android tab.
Can anybody suggest me what may be cause of this?
In order to install apps from places other than the market, you need to enable that in Applications settings - allow unknown sources. enable it.
enable usb debugging also
With the debug tools installed, you can install an apk from the command line by saying
adb install my.apk.
I recently built a new PC, got the latest android SDK, Netbeans 7.1, java SDK, etc installed so I could debug my android apps. When my phone was connected to my old PC via USB I could simply run my app in Netbeans and it would automatically send it to my phone for debugging. All my phone settings are the same (install 3rd party apps: true, allow USB debugging: true) and I've upgraded all my app projects to the latest SDK version in Netbeans, so those aren't the issues. In addition, I've got the Motorola Droid X device drivers installed. I tried installing just the Motorola ADB interface driver but doing so it tells me a newer version is already available.
Can anyone help shed some light on what else I need to do to make Netbeans send the running app to my phone instead of starting the emulator? Thanks!
EDIT: The device does appear when I run "adb devices"
I'm not sure what fixed it, but I think one of the gotchas of netbeans/android is it doesn't give a great error message when it's time for you to uninstall the debug version of the app on your device. Once I did this it deployed just fine on my phone.