Android :: Upgrading Application From 1.6 To 2.2 Emulator - Not Working
Oct 5, 2010
I currently found out, that my Application developed for Android 1.6 does not work on Android 2.2. I'm quite puzzled about this, because its a very simple Application which almost does nothing. The Expeption I get is like that:
java.lang.RuntimeException: Unable to instantiate application [packagename].AndApp:
java.lang.ClassNotFoundException: [packagename].AndApp in loader
dalvik.system.PathClassLoader[/data/app-private/[packagename]-1.apk]
The weirdest part is, that the Class it is searching for here does not exist and never has. The app itself does nothing than show some text in a textview. In Android 1.6 I dont get this problem and I cant see a reason, it event works in 2.1. The Manifest looks like that:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="[packagename]" android:versionName="1.02" android:versionCode="3">
<application android:label="@string/app_name" android:icon="@drawable/stop_48"
android:description="@string/Description" android:name="@string/app_name">
<activity android:name=".DefaultActivity" android:label="@string/app_name" >
<intent-filter> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </activity>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"</uses-sdk>
</manifest>
View 2 Replies
Jul 19, 2010
When i am trying to run the example of Maps as in http://developer.android.com/resources/tutorials/views/hello-mapview.html, the menu button doesn't seem to work. I tried the default Maps app in the emulator and there it was working. Also i intend to add an item when a user presses that button, how can do it?
View 2 Replies
View Related
Sep 1, 2009
I just updated my Ubuntu Linux box to Jaunty (9.04). Initially, I had same problem everyone else has on Jaunty i.e. adb doesn't see the device: http://groups.google.com/group/android-developers/browse_thread/threa. I followed the instructions and 'adb devices' lists my device just fine now, but Eclipse/ADT won't load my app or run it on the device. Every attempt at execution runs on the Emulator. I get the following message in the console: [2009-08-31 21:01:39 - KeyDirector] Automatic Target Mode: Preferred AVD 'avd15' is not available. Launching new emulator. Anyone have ideas on what might have caused this? I tried deleting and re-building the 'avd15' but it didn't help.
View 2 Replies
View Related
Jun 6, 2009
An application I'm working on stopped being usable after upgrading to 1.5, and the reason seems to be that, after joining a WiFi network and creating a TCP/IP or UDP/IP socket, there is no way to communicate using it from a remote entity. I can not even ping the phone using the normal ping command, which was possible using 1.0. This affects my program since it's using mDNS/DNS-SD and peer-to-peer TCP sockets for communication. Is there anyone else who can confirm this?I have tried running the program built with SDK 1.0 and SDK 1.5 while running on a real phone running Android 1.5 and the problem is still the same.
View 2 Replies
View Related
Sep 15, 2010
After upgrading to tazz 6.9 black rain and vanilla versions, chrome to phone will not work. my computer sends the link, but it never shows up on my phone.
I am running a froyo 2.2 rom and have had it working before. anyone else have chrome to phone just stop working recently?
View 11 Replies
View Related
Apr 8, 2009
Is there a way to reload an Android application in the emulator without closing the emulator, saving any code changes, and running the emulator again? If I make even a simple change to the layout, it takes about 30 seconds by time I run it in Eclipse and Android "boots", and I can unlock the emulator to run the application. Is there any way to shorten this time when making changes, or is it something I just have to deal with?
View 3 Replies
View Related
Feb 1, 2010
After upgrading my application I would like the service to restart if it was running before. Is there any way to do this? I didn't see any Broadcast Intents that I could register for in the manifest.
View 1 Replies
View Related
Nov 28, 2013
I have upgraded my Karbonn A30 mobile from ICS to JB 4.2.2 with the guide lines mentioned in this XDA-forum. I have successfully upgraded to JB 4.2.2, but after upgrading Camera is not working on my Karbonn A30.
Camera is starting but not able to see any picture and also Gallery location in Camera app is not showing. When I capture any image, the screen goes to GREEN colour and it got hang.
View 2 Replies
View Related
Dec 5, 2009
So i have the free sneoid on my Droid. if I want to upgrade to the paid do I have to uninstall the free one first? or just install the paid? will the paid install over the free?
View 3 Replies
View Related
Nov 20, 2010
Two days back I had upgraded my X10mini to andriod 2.1. 24 hours after upgrade the screen got freezed. Its showing FM screen and the restart button is also not working. If I press the power button, screen lights on for some time and goes off. I can't remove the battery as the battery is fixed. Please let me know if you know some other way to restart the phone.
View 2 Replies
View Related
Jun 20, 2010
I have installed PC Companion but every 2-3 days it announce me a new update for my phone X10mini.Is it possible to know which bugs are fixed in each update before proceeding ?Is there a way to save all data before upgrading and restore after upgrading ? (sms, sounds, accounts, software, note, alert, phonebook etc)
View 1 Replies
View Related
Oct 9, 2009
Whenever I try to upgrade my application in android market I am getting this error:"The apk must be signed with at least one certificate in common with the previous version"and I have lost my previous keystore.
View 1 Replies
View Related
Jul 21, 2009
I've updated to 1.5 release 3 on both Ubuntu 8.04 and Windows XP Pro using Eclipse and latest ADT Plugin (0.9 Final). This snippet of code is still not working on the emulator whereas it was before 1.5. What am I missing here? The User Permissions are set to ACCESS_FINE_LOCATION and the minimal API to 3 and level 3 AVD. I set The Log.v still says the Location is null.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); setContentView(R.layout.main);
LocationManager locmgr = (LocationManager)getSystemService(this.LOCATION_SERVICE);
if(locmgr == null) Log.v("err","Couldn't get locmgr");
Location loc = locmgr.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if(loc == null) Log.v("err","loc is null"); }
So is GPS emulation still broken?
View 10 Replies
View Related
Nov 28, 2009
No matter how many times I re-create the SD card and start the emulator along with SD card the application seems to crash and errors out with the message "The application has stopped working unexpectedly." I am able to run the simple text based Hello World Android application on my emulator successfully and the problem is present for TTS application only.
I followed the steps provided in
http://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tuto...
but still not able to run the application from the past 3 days.
View 2 Replies
View Related
Aug 1, 2009
My little apps used to run fine in eclipse and on the android emulator.Then for some reason they stopped working. Now, no new apps or changes will appear on the phone.I have followed the instructions on the FAQ but it doesn't change. Now also if I want to change some code and then re-run it by pressing play, it says: emulator: ERROR: the user data image is used by another emulator.
View 2 Replies
View Related
Nov 11, 2010
I used AudioRecord on emulator and phone. I found that AudioRecord is not working on phone: 1> the min-buffer-size on simulator is much smaller than phone 2> The audio data I read from phone is all zero.
View 2 Replies
View Related
Jul 5, 2010
I am trying to run the example as given in the book Professional Android Development by Reto Meier[pg 220], but i am not able to get the address string i always get "No address" . I read about the same prob in this forum, and i tried it in api level 7 but in both 7 and 8 api levels , i am getting the same output, i.e. No address. Also can anyone please tell me that here i have to manually supply the lat and longitude , so it is it possible that to get them automatically?
View 3 Replies
View Related
Apr 13, 2009
Everything has been working for just about a week and now for some reason the Emulator has stopped working. I am running Vista Ultimate, Intel DualCore E? 4G memory.
Here is the Event Log.
Faulting application emulator.exe Version 0.0.0.0 Time stamp 0x498b7c2d, faulting module emulator.exe, version 0.0.0.0, time stamp 0x498b7c2d, exception code 0xc0000005, fault offset 0x00036070, process id 0x186c, application start time 0x01c9bca07b1f1785.
View 2 Replies
View Related
May 10, 2010
I'm having problems with the SNESoid emulator. I downloaded some ROM's and unzipped them, I made a folder called 'roms' on my SD card. When I go to open SNESoid it says 'no roms loaded' and then I manually go to menu and open, and go to the folder and it see's the .smc files or whatever and I try to open them and it just takes me to the previous page, which is like the menu page with all my applications. I've tried to Google this problem and I've seen a couple other similar problems but never any solutions. Anyone know?
View 7 Replies
View Related
Apr 30, 2009
just installed myself a new AVD and set the camera to true, however the camcorder is very unresponsive and seems like it's not working.
View 2 Replies
View Related
Mar 23, 2009
I just wanted to run a ProgressBar test, as it's my first time using them on the Android. Here's my XML (in a Linear Layout):
<ProgressBar android:id="@+id/progress" android:layout_width="fill_parent"
android:layout_height="25dip" android:indeterminate="false"
android:max="100" android:progress="50" />
When I run the emulator I get a progress bar that glows orange on the left and right end. I also instead tried programmatically setting indeterminate to false, max to 100, and progress to a solid 50. No go. I even tried creating a background worker thread that would update the progress of the bar every half a second. Nothing. I just get two glowing orange ends to my bar (with a blank space in the middle).
View 3 Replies
View Related
Sep 4, 2009
I am not able to test IM client application on emulator.
View 1 Replies
View Related
Apr 28, 2010
I am running one web application in android emulator browser in one java script file. I am trying to output some string as console.log("android");
But I didn't got this log using adb logcat even I tried to start adb logcat firstly and then turn the app. But didn't got log message which I used in console.log. Is there any way so I can get my log message.
View 3 Replies
View Related
Oct 19, 2012
Need getting the Android Emulator working again for my project. It was working great earlier today, but after lunch I ran the program to debug and now have spend 3 hours trying to figure out why the emulator won't launch at all.
After running this I do get an APK and I can install it on my device. However, I would like to use the emulator for testing.
Console
[2012-10-19 19:38:08 - SA] ------------------------------
[2012-10-19 19:38:08 - SA] Android Launch!
[2012-10-19 19:38:08 - SA] adb is running normally.
[2012-10-19 19:38:08 - SA] Performing com.example.sa.MainActivity activity launch
[Code] .....
View 2 Replies
View Related
Aug 20, 2010
I looked all over the web and in this group for a solution but I don't seem to have any luck. I'm probably not the only developer that needs to try C2DM on the emulator so a solution to this could be quite useful. First of all let me say that I'm running the latest Google APIs 8 rev 2 as AVD which should have all the necessary magic to allow me to run C2DM (it even has all the market components to run the LVL). I tried both Chrome to Phone and Jumpnote and it was impossible to make the C2DM service work. - Chrome to Phone fails when trying to connect from the Android app running on the emulator with a "Error: Unable to connect". On the Chrome to Phone site they recommend that Talk should be tried first and that the Market should be available (none of these come in the emulator image and I'm not sure if I should even try to install them on the emulator). - Jumpnote does not synchronize automatically and gives me an error: "Error calling remote note sync RPC" (when I do a manual sync I can see the docs being synchronized but looks like C2DM, which enables the auto sync, is broken). I also heard a comment that maybe port forwarding via adb could be necessary (but I'm really not sure this makes any sense).
View 5 Replies
View Related
Apr 5, 2010
am new to this android development. I have index page and am displaying every links in the same page using div concept.Now i want to use the back button for my application i have developed code to handle the div and it is working in the AVD(Andriod Virtual Device 5556) but if i upload the apk into my device it is not working.
View 1 Replies
View Related
Jul 14, 2009
After weeks of trying to get my service to run on boot & an interval via AlarmManager I finally found out the problem. If my workspace is for sdk 1.5, the service never run once. If my workspace is for sdk 1.0, Using the 1.0 Emulator, Not the 1.5 Emulator, it works perfectly. Why is it only working on the old SDK? Is there an additional permission I need?
View 2 Replies
View Related
Jul 19, 2010
I'm using Eclipse and the Android SDK for Linux. When I start my emulator at the beginning of the day it works fine. Later in the day it's sluggish and still later it won't start at all. This computer runs Debian linux, the testing branch, with 1Gig memory and a two 1.6 Ghz processors. On another machine I have, the emulator works the same at the beginning and end of the day.
It has 500M ram and a single 1.6 Ghz processor. As it turns out I cannot use the second machine for all my daily tasks. How can I get the first machine to work? Is it the number of processors? I cannot figure out how to disable a processor in the emulator. I was looking at the '-qemu' options, but none seems to do the trick. I don't understand the qemu options that well.
View 3 Replies
View Related
Apr 12, 2009
I have been developing on the windows Android SDK until recently I have moved to the Linux SDK. Once I launch the application from eclipse, I click the 'x' of the emulator window and an empty window persists, whereas this does not happen in the windows. I have to manually kill thru the shell (kill -9 "<emulator process id>") Has anybody faced this problem on ubuntu 8.04, with android SDk 1.1?
View 3 Replies
View Related
Nov 13, 2009
I'm trying to emulate an Acer AOD250 that has a 1024x600 screen and comes with Android. If I create an AVD with default settings except for resolution of 1024x600 and SDK 3, the emulator does not start. The largest I can get working is 670x600. At larger resolutions, sometimes the emulator starts, but does not complete the boot. Is there a memory setting or something that I can change to allow the emulator to work on a screen this big?
View 2 Replies
View Related