android-emulator

Emulator from Android Studio starts “thinking” every few seconds and doesn't let me debug

你离开我真会死。 提交于 2019-12-24 09:01:07
问题 Whenever I'm debugging an app using an emulator from Android Studio (clicking Debug 'app') the system shows the mouse arrow with a spinning wheel. It is very difficult to write anything, the context menu dissapears before I'm able to click...not only annoying but impossible to debug properly. Even for writing this question I had to stop the emulator. I have tried 2 different apps (one of them a very basic tutorial so that there are no errors in the code), just with the emulator on with no app

Android ListView - RSSPro app has stopped working?

≯℡__Kan透↙ 提交于 2019-12-24 08:53:02
问题 I've followed this tutorial but when I try to run the application I get "Unfortunately RSSPro has stopped." This is my code for the RSSProActivity: package com.android.rss; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import android.app

How to use Google Maps Android API by Google Play Services 11 on an Emulator with Android 8

你离开我真会死。 提交于 2019-12-24 08:21:59
问题 I want to run my Google Maps Application on an Android 8 Emulator. As Google is suggesting, one should use the Google Maps Android API provided by the Google Play Services in the Version 11. For this I put compile 'com.google.android.gms:play-services-maps:11.0.0' in my gradle file. When I start my emulator with android 8 its only providing google play services with version 10.9.30 and the map is not showing up. I'm running the emulator with android studio 2.3.3 on Mac. How can I get my

Jsoup throwing NullPointerException on Connection.get() in Android Emulator

蹲街弑〆低调 提交于 2019-12-24 06:49:33
问题 I'm using Jsoup for one of my android applications, and I have a relatively simple piece of code that keeps throwing NullPointerException when I call connection.get(). This used to work a couple months back, but after installing the latest SDK it no longer works in the emulator. It is working fine on my physical device, but I don't know if this is an emulation only bug or could impact other handsets. This is my code: String URL = "http://finance.google.com/finance/feeds/default/portfolios

Android Studio 1.3 RC3. Google Play services out of date. Requires 7571000 but found 6774470

不羁的心 提交于 2019-12-24 06:11:47
问题 Attempt History It could be a duplicate for this I followed all the suggestions in the comments, none of them helped resolve. So i have a duplicate question with some more additional information. Issue Whenever I run my app with the below mentioned spec of AVD, i get a logcat like Google Play services out of date. Requires 7571000 but found 6774470. Details These are the version of stuffs i have. Please let me know if need any info, currently I'm blocked hope any one from GCM team can help me

How to get internet to work in Android TV emulator

牧云@^-^@ 提交于 2019-12-24 04:48:08
问题 I have an Android TV (not google TV) emulator setup running android tv 5.0 and it has no access to the internet. In settings for both wifi and ethernet it says "no connection". Is there something I am missing? I have emulators for other versions of android running on phones and everything networking wise works ok. Also I am not saying that my app has no internet access. I am saying that the actually Android TV settings says no network connections. 回答1: The Android SDK emulator images do not

My Emulator won't unlock

五迷三道 提交于 2019-12-24 04:35:08
问题 I created a brand new emulator today but it is behaving weird today. Here is my setting: When i start it up, it loads fine. Until it gets to the lock screen. I keep on dragging/swiping from bottom to top to unlock, but it wont! This is the first time I encountered such behaviour. I tried with target Android 6.0 - API Level 23 but was able to unlock. I want to test my app on Google API 23. Please help to figure out the proper setting values. 回答1: Happened to me as well. Another solution in

Content Resolver Query is not finding music on sd-card

我们两清 提交于 2019-12-24 03:51:31
问题 I have constructed a simple query to find music on the sdcard of the Android emulator. I am using Android Studio. I placed 3 songs on the sdcard using adb push. However, the query is not finding the music files. Here is an image of the files on the sdcard in the Music folder: Here is the code that I am using to perform the query: ContentResolver musicResolver = getContentResolver(); Uri musicUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; Cursor musicCursor = musicResolver.query(musicUri,

Location of my apk file in emulator

妖精的绣舞 提交于 2019-12-24 03:32:22
问题 I wrote a small program in eclipse -android.Now i installed and i am running my program which is an .apk Now i want to know where my .apk file is there and i even want to "pull" it into my system. Is it possible? If so kindly help me. 回答1: If you just want the apk to install on a phone or similar use File -> Export -> Android Application 回答2: Yes should be possible. Do a adb shell and look under /data/apps (e.g. ls /data/apps). Once you know the filename you can do adb pull filename . 回答3:

Sending the same SMS twice

一世执手 提交于 2019-12-24 03:22:36
问题 I'm trying to make an sms android app, but i'm getting an error that i've never seen before, even in google i haven't found anything like that. So, if you could help me... i'll be glad For some reason, the program is sending two messages (the same sms) at the same time. But it just happens in production. When i'm using the simulator, everything works fine! it Sends the sms just once ... I've tried many phones and many phone operators but the error always happens. I really dont know how to