I'm trying to run my App from Eclipse with ADT in to my device Asus 450CG with 5.0 Lollipop..
the ADT is recognize my Device, as I activate Debug on my device, and the drivers for device has already installed. and when I click O.K to run on my device, there is no error it says
upload MeetApplication.apk...
Install Meet Application.apk on to device...
Success...
Start Activity com.pjb.meetapps2.splashscreen ..
but after that it is still nothing happend on my phone..
there's no MeetApplication installed on my phone..
what happend ??
any Ideas,, ??
Related
When I am running the Android Emulator it loads the application but does not pass the initial black screen. Eventually, the emulator closes automatically with the below message
"Emulator: Process finished with exit code -1073740791 (0xC0000409)".
How can I fix the above issue? Do let me know if anyone has any solution
Go to :
Tools-> SDK Manager-> Android SDK -> SDK Tools-> Android Emulator(if check unchecked) uninstall it and then reinstall and also check The intel x86 emulator accelerator (HAXM installer) same uninstall and reinstall
Android studio emulator is failing on my machine and I have no idea what else I can do. I have tried the solutions on these two links :
Android device is not connected to USB for debugging (Android studio)
java.io.IOException: Unable to open sync connection! in to the Nexus
So to sum up here's what I did :
1- Downloaded Android Studio from the official website then I installed it.
(While installing I installed also IntelĀ® HAXM)
2- I installed Android SDK API (15, 16, 19, 21, 23) plus Java JDK + JRE version 8u92 (I also set JAVA_HOME to JDK folder path and included it to the PATH variable also)
3- Dowloaded and installed google usb drivers from http://developer.android.com/sdk/win-usb.html#top (by the way my phone is totally recognized by my Windows 7 OS)
4- Made an "Hello world program" according to https://developer.android.com/guide/tutorials/hello-world.html
5- Enabled USB debboging mode on my cell phone (Alcatel Mpop One touch ; Jelly Bean 4.1.1)
6- Switched between the 3 modes ; PTP, MTP, USB... nothing happened...
Is it me or Android studio is NOT reliable...it seems it should work smoothly just by enabling usb debogging ont the phone. Still I get NO USB device or running emulator running
How can I fix this ? Or is there an alternative to adb of android studio to test my apps on my phone (with installing the app on the phone...) ?
Try to install this adbDriver it works for me on Samsung J1 and Galaxy Star Duos pro
Hmm,
Finally after weeks of searching the internet, I think my problem is related to a missing driver. Though I'm not quite sure why.
The missing driver is a driver from my Telephony service company (Orange.fr in my case). I suppose they made changes to the Android OS / the pohne itself.. anyways there is one of their driver missing.
NEVER BUY A PHONE FROM a telecommunications services company. Always get it from the manufacturer in unlocked mode...that's the lesson I get from this.
EDIT: running Windows 8.1
Fully up-to-date Android Studio detects the phone (rooted Samsung Note 3 on 5.1). It's compatible. Developer Mode is active, USB debugging on, etc. Never had a problem connecting the phone for dragging and dropping.
However, whenever I try to put it on the phone...
Installation failed with message null.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application? (YES / NO)
No matter whether I press yes or no, I will get the same error.
Target device: samsung-sm_n920t-93eb26a9
Installing APK: C:\Users\user\AndroidStudioProjects\CopySunshine\app\build\outputs\apk\app-debug.apk
Uploading file to: /data/local/tmp/com.sdg.copysunshine
Installing com.sdg.copysunshine
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.fox.pac"
pkg: /data/local/tmp/com.fox.pac
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.INSTALL_PACKAGES.
DEVICE SHELL COMMAND: pm uninstall com.fox.pac
I can use emulators (like Genymotion) just fine, it's just that having Android Studio / Emulators make my computer run hot at times, so I'd rather not do it if I can...
A solution I've tried is putting "android.permission.INSTALL_PACKAGES." into the Manifest but then I get a message that only system apps have that privilege.
I have another phone, a rooted S4 that running on 4.4.2. but whenever I connect that, the phone's UI crashes completely... that's a whole different issue.
Not sure if this is the problem, but make sure you have installed Samsung Kies, available here:
http://www.samsung.com/uk/support/usefulsoftware/KIES/
Without it you will not be able to run your Android Studio apps on Samsung devices.
First off, some rooting techniques screw a few things up so it could be that the root caused the problem.
Nonetheless, could you include which OS you are running Android Studio on?
Did you get the promt to authenticate. Maybe revoke authentocation from the developer options and try again.
I had the same problem one day and I solved it by reinstalling drivers on my computer for the device. Then when I run as administrator I am able to deploy my application without any problems.
Also try to uninstall the app from the command line.
~ adb uninstall com.yourpackagename
A few other commands to check if everything works:
~ adb devices
~ adb install com.yourpackagename
I have just migrated from Win 7 to Windows 8.1 to develop my Android project using Eclipse (Luna Service Release 1a (4.4.1)). When connect my Android device (SAMSUNG GT-N7000) on windows 8.1, it recognized by Windows and I can explore the folders of device.
But when run the Android project, Eclipse can not recognize this device and I receive below message:
Failed to find an AVD compatible with target 'Google APIs'.
It sounds like you're hoping that eclipse will run your program on the phone that is plugged into the computer, is that right? If so, why not create a virtual device instead using the Virtual device manager.
Hi so I am working through this book called Beginning Android Games because and I am having some problems with the Android 1.5 Android Virtual Device.
First the SDK for Eclipse (the program I am using) didnt have the 1.5 SDK for Android so I had it installed when you first try to run a AVD it asks has a checklist of SDK's that will be fetched and installed for you if you check the box. I did this, had the 1.5 SDK installed however when i try to run a AVD emulator using the 1.5 sdk i get a
(Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. please contact the application's support team for more information.)
type of error. But when I used the default 4.2 SDK for an AVD emulator the emulator showed up. I dont get what im doing wrong here.
Also in eclipse i have the Android ADT and SDK installed. In eclipse when i click on window then Android virtual device manager and I try to start a new emulator the 1.5 sdk i installed doesnt show. But when I click on window->sdk manager->tools->manage avds then my 1.5 sdk shows up and I can use it.
The problem was in the amount of ram for the virtual machine.
This following solution worked for me. In the following configuration file:
C:\Users\<user>\.android\avd\<avd-profile-name>.avd\config.ini
Replace
hw.ramSize=1024
by
hw.ramSize=1024MB
Go to Help -> Check for updates if there it shows some updates needed, then you can install them. May be it will work.