Hello Im a newbie in Android and eclipse my question is,How I can Fix the problem when Im going to run my Android project only logoof Android was found in emulator, not a phone..
Well you have to install your Android Phone's driver first . They are usually in the sd card of your Android phone . Open your Android phone in USB mode and install the drivers. Then you'll be able to see your phone while running your android application.
Related
I am trying to run an android app i just created using Android Studio IDE. I am using a MTK device, i have downloaded and installed so many adbs but still can't solve the problem. My Laptop is running Windows 7(32Bits).
Use external android emulators like Leapdroid, GenyMotion, etc. I suggest you to install Leapdroid. It is very easy to use.
[U can download Leapdroid by the following link][1]
![1]: https://leapdroid.en.softonic.com/download
Today I downloaded Android Studio for my Debian Testing system. I wanted to run a HelloWorld application but weren't able to run it. With adb I can install it without having any problems.
However, if I try to do it with Android Studio, it gets stuck on 'Installing APKs'. The same happens when I try to start it in an emulator (gets stuck on 'Waiting for target device to come online').
My device is a Samsung Galaxy S3 with LineageOS (Android 7.1.2) and root permissions. Android Studio recognizes my phone properly.
What I've already done:
installed openjdk
set android_home
installed all the SDK-platforms since Android 4.3 and Android Emulator from SDK tools
enabled USB-debugging
tried with MTP and PTP
tried another emulated phone
installed lib32stdc++6
restarted my computer
and probably much more
I tried to do it the whole evening and couldn't find a solution. Is there something Debian-specific because I can only find instructions for Ubuntu? I have never experienced anything close to this on other systems.
Thank you in advance.
EDIT: I am now able to use my phone to run the android application by using USB 2.0 instead of USB 3.0! Is that a normal behavior since it works with native adb? I mean, if I buy a new PC after some years which has got only USB 3.0 ports, will I not be able to use phone debugging with Android Studio or is this just an issue? It is still known since 2014 (https://stackoverflow.com/a/9548311/8292104).
However, I still cannot get the app running on an AVD. I changed graphics to software, now it shows the phone but the screen remains black and the phone won't start. What can I do to fix it?
Try to completely delete and install Android Studio again, I think that it will solve the problem
Another possible solution that worked for me is to, in the application, go to
app - build - intermediates - split-apk - debug - slices
and then delete all of the contents within this folder. Then again, this only worked for me, so I would duplicate the document in case of corruption.
I'm a beginner in Android development, and I'm trying to figure out Eclipse and the development environment and how everything is set up. I found a guide on developer.android.com, but it really isn't helping to get my test app running on my devoce. I've connected my Nexus 5 to my PC, I've enabled USB Debugging and all that. I have a simple app created... but when I try to run it, it only wants to run on the Virtual Device. The guide I'm following just says "Enable USB Debugging," but that doesn't seem to do the trick. What am I missing? How do I run my app on my device?
You need to install the Google USB Driver, which comes in the Android SDK platform see more here: http://java.dzone.com/articles/how-enable-usb-debugging-nexus
I'm new to Android programming. I have installed Android SDK and the Android Studio IDE. I have started by reading this. I copied this code in eclipse and then run my code as Android application. The problem is that when the emulator appears I can't unlock the phone! Also it is too slow and I can't do anything. What are the other options to run Android app?
If you run Windows or Mac and your hardware is not enough to use emulator, you may check BlueStacks (http://www.bluestacks.com). It's like a Android player for PC.
I'm a beginner for Android Development. So, i have need to deploy my Android project and how to install into my Android device. (like, mobile, tab.. ) I have a Android mobile xperia x10.
Please help me.
thanks in advance.
First option is to use your IDE. Eclipse(with ADT) and IntelliJ Idea supports deployment on device. THe only thing you should have installed is mobile phone driver. HTC, for example, has it on it's sdcard.
Second option is just copying an apk file to your sdcard and installing it by invoking apk from some file manager like ASTRO.