Android :: Emulator Reported An Error That Com.android.settings Has No Certificates At Entry Manifest.xml
Oct 23, 2009
I did some modification about the java code and AndroidManifest.xml of "com.android.settings" package.
Then I ran the emulator like this: make; lunch 1; emulator &
When PackageManagerService was scanning the "/system/app/Settings.apk" packages at boot time, it reported an error that "com.android.settings has no certificates at entry AndroidManifest.xml".
I guess my modified "Settings.apk" could not pass the signature verify.
How can I run my modified "Settings.apk" successfully?
In the android manifest on the first line "" I'm getting an error marker (with a red X). When I mouse over the red x it says- "Manifest attribute 'minSdkVersion' is set to '2.1'. Integer is expected."
I put two projects into Eclipse, called Project1 and Project2.Project1 is independent, but Project2 must be dependent to Project1.When I build the Project2, the error msg comes like this: Error generating final archive: duplicate entry: AndroidManifest.xml
The above code is my manifest for my project i get the error "Tag <activity> missing required attribute name." on lines 7, 15 and 16. ive been trying to renew the file but i get the same errors i am currently using SDK 1.5 mn3 maybe.
And several other attempts to call "link" that also fail (sshfs does not support hard links).
Is it possible to change the emulator's behavior to create lock files somewhere in /tmp (using some hash of image path as lock file name)? I am OK to try this myself: which repositories from https://android.git.kernel.org/ are necessary to rebuild the emulator alone, and where in the sources is the code responsible for image locks?
I have 9 Favorites set up on my Incredible, 8 of them work perfectly (I have them fixed up so that when I choose the person, the entire address card comes up so I can choose to call, email, text or whatever), and the ninth (set up only to place a telephone call) used to work perfectly, now not so much.When I select the contact, I get a message that says "Call not sent, no valid number entered".I have looked at his address card, and all seems correct.I have not changed anything so really don't know what is going on.I thought maybe if I deleted this one contact and then re-added, it would fix it, but when I try to delete this one, the phone looks like it wants to delete the other 8 as well, and I really don't want to have to set this up again (actually, can't remember how I got them to show the whole address book entry).
when i am composing a text message, sometimes the box of the entry goes larger and goes back smaller, is there a way to increase the text entry box size, say, double tap on it to bring up a whole screen text entry area?
A user of my Android App reported that he was seeing tiny text. How is this possible? More importantly, how can I use the emulator to be sure that my changes will fix it?This user has a Motorola DROID phone, which has a different screen resolution and maybe other slight differences.I assume that the problem was I didn't test using the right screen size. However, I followed the instructions here and tested a larger screen and the text was fine. I know my app has fixed pixel heights like this: android:layout_height="64px" and I use text side parameters like: android:textSize="14sp" or android:textSize="12pt"
I'm running Leopard. I create an avd without problem, but when I run it I get a bus error. I've tried to run the emulator both with and without adb running first. Eclipse (w/ ADT) is not yet running. Any ideas?
when i am running the project in eclipse. at finally showing this message. ActivityManager: - exec '/system/bin/sh' failed: Bad address (14) - app is installing but not starting first time automatically.
I am running into a problem creating an android emulator from the command line. When I run the android command the messages below output.
Starting Android SDK and AVD Manager SWT folder 'libx86_64' does not exist Please set ANDROID_SWT to point to the folder containing swt.jar for platform
I've already:
Execute SDK Setup.exe and brought down the android packages Modified my environment variables to point to the tools folder Verified that the SWT.jar was in fact located in libx86_64
I've already successfully set this up on my primary development unit. The system I am installing on now runs 64-bit Windows 7 (same as my other development unit).
Whenever I start the application it keeps force closing citing the log below. Is this a CPU overload issue or memory management issue? I really don't understand how to resolve this? I am running Eclipse v 3.5.2 and Android SDK 0.98 and AVD is Froyo (2.2).............
I'm looking for a way to get the certificates from a package that are used to sign it. Using the PackageInfo class it is possible to get the signatures. But what can I do with signatures if I don't get the public keys to verify these.
The next question I have where does the PackageInstaller verify the signed APK file? The PackageParser class loads the APK file into a JarFile object but does this automatically verify the signature?
I have developed an application in Rhodes framework and deployed the application in an Android emulator. When I try to access the application i get the following error, SD card error, Application can't access the SD card while it's mounted.Please unmount the device and stop the adb server before launching the application. I have tried to unmount the SD card in the emulator but I am unable to do that.
I downloaded android and followed the instructions provided in this website ( http://source.android.com/download )! but i am unable to launch the android emulator. please find the following error
laptop:~/bin/out/host/linux-x86/bin# ./emulator emulator: ERROR: You did not specify a virtual device name, and the system directory could not be found.
If you are an Android SDK user, please use '@<name>' or '-avd <name>' to start a given virtual device (see -help-avd for details). Otherwise, follow the instructions in -help-disk-images to start the emulator. Am i looking at the right executable? can any one please help me figure this out.
I'm using the Email application. I get a "non-trusted certificate" error when setting up mail for IMAP. This is expected because I generally self-sign my certs. Though, what is not expected is that there seems to be no mechanism to accept non-trusted server certificates. No self-sign certs? That's a deal breaker. There has got to be a work-a-round.
From the signing documentation at http://developer.android.com/intl/zh-TW/guide/publishing/app-signing.html:
When the system is installing an update to an application, if any of the certificates in the new version match any of the certificates in the old version, then the system allows the update.
This indicates that an application can be signed with multiple certificates.
This is an interesting option to allow multiple entities to sign an application. e.g: A system application which was initially signed by the device's manufacturer. Further updates could be signed by the developer.
Am I misreading the documentation or is this really possible? If so, how?
Is there any other way for an application to support different certificates and with that, having two or more entities sign it?
I am using httpclient for my android app and I have a local site which has a few https pages. Since default httpclient doesnot allow self-signed certificates I am using "EasySSLFactory" and "EasyX509TrustManager", which are mentioned in httpclient documentation.
CODE:.......
The problem is if I use this SSLFactory in my android app, I am getting correct response from my site's https pages, but I get "SSL handshake failure: I/O error during system call, Unknown error: 0" for sites such as "gmail.com", "ymail.com". If I don't use. "EasySSLSocketFactory" I get response from these sites but get exception for my site.
This page fetch code works fine as a standalone java application.
I recently formatted my computer and updated to Windows 7. I backed up my keystore and tried to sign my apk with it but it gave me an error that said my certificate expires in 22yrs. which is just shy of what the market requires to upload the apk. So now I am stuck not being able to update my app... Is there a way to extend the lifetime of certificates so that I can update my app?
I am trying to do is read a contact off of my emulator and display it to the screen. I can't seem to resolve this error. Both of my packages (com.msi.ibm.tutorial and .MobileServiceCallContacts) have the permission READ_CONTACTS set in their manifest xml files. So any ideas as to what I've got wrong? Here is the error message from eclipse console if it helps, it's not helping me, but I'm a little rusty at this and completely new to Android development.
I wonder if anybody has ran into the issue where a running emulator would lose network connection all at a sudden for no obvious reason. And I am sure the computer running the JVM is still online.Restarting the emulator seems to fix the issue but it's been a major PITA for me as it interrupts the work flow.I am using 2.1 SDK 7.