Android :: Signing An Application On Linux
Feb 20, 2009I've got a problem! I don`t know how to sign an application on Linux. Can you please help me?
View 9 RepliesI've got a problem! I don`t know how to sign an application on Linux. Can you please help me?
View 9 RepliesI have a paid application, that I recently published.
For one reason or another, I didn't make a backup copy of the key signature.
After fixing some bugs, I tried to sign the application again as an update, through Eclipse's export as a signed app wizard.
On the screen where the alias is usually selected, i get a message saying "Invalid Keystore Format."
My real issue is how to handle publishing the update as a new, separate application, with regard to the users who have already purchased the application.
Would I issue refunds for the original purchase for users that purchase the new, separate application?
I got the screens and code all worked out, I want to export and sign the application for public distribution but the documentation on this is overwhelming. Any hints on signing the app and all that jazz?
View 4 Replies View RelatedI have an application which has some of it's activities restricted via my own permission. The permission is published in the manifest of the application A and a second application B should request this permission and then be able to call an activity from app A. Both applications belong to me and are signed with the same certificate (they share the same keystore and alias/password from it). Application A gets granted the permission but app B gets never granted the permission! Logcat tells me about this during the installation and the app crashes with an security exception when trying to start the activity from app A. What the heck am I doing wrong? Could it be something with the application signing? Please help me, I'm totally out of ideas.
View 3 Replies View RelatedI would like to know about Android application signing. IFAIK, blackberry and iphone application must be signed to work on the real device.For the Android, does application need to sign ?If so, how to sign the application?
View 2 Replies View RelatedI have written video renderer application which is using surface flinger APIs to get access of it. I am developing and building application on eclipse. So when i build it , it is already signed default. But when i run it on emulator, i am getting access permission failure of surfaceflinger.On the some portal i have read that if i want to access surfaceflinger i need to signed my application with system key. Is it correct ? If it is correct, can anyone guide me how can i signed my application with system key to get access surfaceflinger.
View 4 Replies View RelatedI have my application run on development environment (eclipse - testing using device), then i do right click on my project folder - android tools - export signed application package, then i create new key store and add my information there, then it'll produce the .apk then i put it up on my own webserver (I intend to put it on my own web server and android market place as well) but then, once i try to download my .apk from my testing handset - it said:
"cannot download. the content the content is not supported on this phone"
this is weird, since i do my testing on this same handset as well. so my question are:
- what is the proper way to sign my app so it can be downloaded all the way through my own web server?
but I still can put it up on android market as well? - I have my android market account.
-is there any walk-through for it?
Well Hope someone can give me the answer, I really appreciate your help!
I'm just about ready to Publish my application. I have a question about the Signing/Aligning of the application. In looking at the Android documentation they say to run "ant release" to compile the application in release mode. Then to sign and align the apk run "jarsigner" and "zipalign". I had used "android create project" to create my build.xml.
I modified it to run proguard. I find that when I run "ant release" it appears that signing is done as part of the process (I'm prompted for my keystore password) and the apk is zipaligned. I guess I'm confused that the documentation makes it 3 steps, "run ant release" then jarsign, then zipalign. BUT, my "ant release" seems to do everything. Is the documentation not upto date? Is it safe/acceptable to just run "ant release"?
I have 2 tools - 1 : APK Manager - 2: Signare (both have their official posts on xda)
I also have jdk 1.6 update 32 installed on my windows 7 x64 bit.
I have created a private key signature manually using the -keytool -v -keystore command and also have created a private key signature using signare.exe app
I am able to sucessfully decompile and recompile apk files (non system apk - example an adw theme) . Now when i am signing the .apk file, the following takes place.
-when i sign it with a test key uaing apk manager, i am able to put it in my sd card and install it and it works fine.
- now when i sign it with a private key signature ( any of the two that i have created), it gets signed successfully but when i put it in my sd card and install it , i get an error message "Application Not Installed".
I really need to know how to ressolve this issue so that i can sign it with a private key .
Is it possible to run apk application on Linux without using android emulator? if yes, How ?
View 2 Replies View RelatedI want to install an application apk from a Linux machine to a mobile phone (Samsung Galaxy) When I run adb install from Linux (Kubuntu 9.04), I get a message telling : no device found.
View 13 Replies View Relatedi successfully got into adb in recovery mode fairly easily on my ubuntu 10.4 laptop using the following method- this should also work for a linux live boot from a usb flash drive
in one terminal tail and follow log messages
~$ tail -f /var/log/messages
In another terminal run the loop
Then
1. plugin usb and keep it plugged in
2. remove battery, eject sd card.
3. put battery in
4. press vol- and power
5. after around 6 seconds, your terminal with the log will show something like "new high speed USB..."
6. press vol- to select recovery
7. press the power button
8. IMPORTANT- as soon as you see a new log entry (something like "USB disconnect"), pop in the sd card
check your loop terminal for adb. if it doesn't work, repeat at step 2
I want to deliver some event to android application. I thought it should pass the event to android framework library and then transfer the event to android application. Is there any clear sample about such scenario? or anyone can show me the hint how to make it work.
View 2 Replies View RelatedI followed the instructions to create an application signing key and have signed my application and submitted it to the Android Market. Now I am trying to backup my key to make sure it doesn't get lost, but I can't figure out how to do this on Windows Vista.When I look in the directory where I ran keytool to create the keystore I can't find the keystore file. When I use eclipse to sign the application and browse to that directory it shows me that the file <my_company_name>.keystore is there and lets me select it as the keystore for signing my application. But when I look in the directory using windows explorer or a command prompt the file is not there (I do have it set to show me hidden and system files). I also tried looking in places like C:Users<my_user_name> and C:Users<my_user_name> Documents but could not see the keystore anywhere.
I ran the keytool command with "keytool -list -keystore <my_company_name>.keystore" and is does list the keystore and shows that it contains the alias <my_app_name>. However I tried running "keytool -keyclone -keystore <my_company_name>.keystore -alias <my_app_name> -destkeystore <my_usb_thumb_drive> <my_company_name>.keystore -dest <my_app_name> -keypass <the_alias_password>" and keytool tells me that "alias <my_app_name> does not exist. I tried different combinations for several hours but was unable to figure out how to get it to make a backup of my signing keystore on my usb thumb drive.I would greatly appreciate any help in pointing me in the right direction. After reading the warnings about not losing your signing key, I feel that making a backup is critical, but I can't figure out how to find the keystore or get keytool to make the backup. I searched but have not been able to find any instructions that work to do this. It seems like an issue that every developer needs to be concerned about.
Got a little problem with Signing my Application.I'm Using Aptana (for those that don't know its Eclipse with some add- ons) I have the app working and just trying to add it to the market place but for some reason i'm hitting the wall,So here's a run though of what i do.
Right click on project
Hover over Android and click on Export Signed Application Package
Click Next
Select Use Existing KeyStone
Location is set to "C:/Program Files/java/jer6/bin/keytool.exe"
I set my password
Click Next
Select Create New Key
I fill out the form and click next
I browse to my desktop to save the *.apk to
Then i click Finish and GET
"Keytool Error: java.io.IOException: Invalid keystore format"
Can any one help please
I created a little app and uploded it to the Market, it is online, its the "Locale Http Request Plug-in". I signed it with Eclipse using the build in creation of the key file, gave it 35 years lifetime. But when I install it with the Market on my phone, it downloads it and then gives the Error that it was not signed correctly.Is there anything besides whats in the Dev Guide what I could have made wrong?
View 6 Replies View RelatedI have two paid apps in the Android market.My first app was selling a few units per day, I recently uploaded my second app.Both apps were signed with the same private key, both have different packages.
Since uploading the second app I haven't had a single transaction on the first app (as reported by Google checkout).Is that coincidence,or does the market report all transactions for apps that have the same private key as a single app? The market doesn't let a developer by his/her own apps, so I can't test my theory. Anyone else seeing this behavior?
Is there a way to code-sign (to allow it to open only on a device with specific ID) your Android app when using ad-hoc distribution (sending app to testers or clients as a subcontractor)?I know I can share apk file pretty easily, but what if I don't want other people to redistribute the app before it is ready? I don't want testers to be able to distribute not finished and buggy version of my app for example. Or I would like to show my client the final version of the app, but not allow them to distribute it until the payment is made.
View 1 Replies View RelatedI am trying to have 2 applications which can access each other's data.I have a two test applications which I am experimenting with.I set the 'Shared user id' for each to 'com.gabysoft.sharedfiles'.However, when I sign the first app and try and install it, I get the error:
11-05 16:50:33.422: ERROR/PackageManager(61): Package com.gabysoft.sharedfiles1 has no signatures that match those in shared user com.gabysoft.sharedfiles; ignoring!
Clearly, I am not signing it correctly (I am using Eclipse's "Export signed application package" function).How do I properly sign the .apk file so that I don't have this problem?
I got my phone a couple of days ago and i was wondering if i could sign out of google maps. the lady at verizon was setting up an account she spelt my name wrong. so i created a new name but i cant sign out on my phone to use the new account.
View 6 Replies View RelatedI know android is based on linux, does this mean it can run any and all linux applications? If so has anyone tried to run anything like wine? I also noticed that by default you cant run apps directly from sd card, but i saw a modification on a site that lets you change it so you can, so technically speaking is there any limit on the size of sd the G1 can handle?
View 1 Replies View RelatedI was installing the SDK today and it warned me that the package contained unsigned software.I followed installation instructions.is this normal?
View 2 Replies View RelatedSo far I go to the website, look up a few apps and then search for them on the market. Is there an advantage to signing up to the website, downloading the appbrain app etc?
View 9 Replies View RelatedI've posted this on Android Security as well, but that group does not appear to have as much activity. Actually I guess my question belongs in this group anyway, even though it touches on some of the security aspects of android packages. My goal is to access the certificate that was used to sign the apk package; and ordinarily, I would do that from inside the program like this
Certificates[] signingCertificates = getClass().getProtectionDomain().getCodeSource().getCertificates();
Unfortunately it appears that getProtectionDomain() returns null on android - according to the specs
http://developer.android.com/reference/java/lang/Class.html#getProtec...
This method might return null (to converse space?) but only for system classes. Since I'm calling this from one of my own classes, I would expect to get a non-null value, but unfortunately not. I have tried from the emulator, and from an application deployed on my phone using adb through a USB cable. I'm using the latest SDK (2.2) and targeting android 1.6. So I guess I have two questions, the first being: why does getProtectionDomain return null, and have anyone had any success using this method from inside an android application. And the second: Is there some other way to access the certificate that a given apk package was signed with (I can live with the restriction that only a given package can know its own certificate).
I'm working on an open source project for android and am wondering whether there are any best practices (or at least well-argued hints) on how to manage the private key for signing the APKs.
On the one hand, the key should be secured, on the other hand, at least the members of the core team should be able to create "official" releases.
My first suggestion was to just distribute the encrypted private key in the source repository and give out the passphrase to committers, but the trust (from the community to the individual) cannot be revoked.
Is there any other way to share the signing rights (e.g. by setting up a private CA and creating keys for each committer) among the members?
I've been trying to use Eclipse and the Export Wizard to create a signed apk. unfortunately, I cannot seem to generate an UNSIGNED apk. Every time I "clean and build" I get the error below, which I read I can get rid of by "reload" or refresh then building again. however, the debugger automatically signs with the debug key after I do this, defeating the purpose. how do I build the apk w/o signing it?
View 5 Replies View RelatedIs it possible to sign out of youtube on the youtube app? If so, how? I would hope that it'd be possible, but after searching for awhile I'm not so sure.
View 1 Replies View RelatedI can't sign into google. I have a google account set up using a @yahoo.com email but when I enter it into the phone, it says my @yahoo.com account doesn't use gmail.com. Then when I just try to put my user name in with the @yahoo.com it still won't work. Do i have to have an @gmail.com account in order to sign in, or am I doing something wrong?
View 4 Replies View RelatedWhere do you sign in on Skyfire?On the windows version you can sign in and it will restore all your bookmarks. Maybe since its a beta version its not available yet.
View 1 Replies View RelatedHow do I sign outta Facebook? When I click on the app I am always signed in?
View 1 Replies View Related