Update - but NO solution:
Adobe Support gave me this Link today:
I followed the steps described there and generated a p12 file using this code:
keytool -genkey -v -keystore myadroidapp.p12 -alias alias_name -keyalg RSA -keysize 2048 -storetype pkcs12 -validity 10000
... in the Terminal on my Mac.
At the end I had a new p12 File - the same file I generated before using Flash Pro CC.
But again there was no possibility to enter Googles RSA-Key.
This RSA-Key looks like this: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqrJN2bX8xm5zZftHr+l8ce/EGBssVLS2l4nxwu2xCtugK HrnRuq5a
Why ins´t there no any tutorial, instrusction or help on how to enter this Google Play Store RSA-License Key into an Android App which was developed using Flash Pro CC on a Mac??
It's not clear from your post, at what steps you'r being asked for an RSA key. When do you see the request for RSA key? Is it while pakcaging your APK or while uploading the APK on store? Could you please share a snapshot of the UI where you see the request for RSA? Your application is set to free or paid? Have you used any kind of licensing API http://developer.android.com/google/play/licensing/adding-licensing.html (using a native extension) ?
Thank you for your reply!!
I adapted an Android App using Flash CC on a Mac. I already published this App for the Apple App Store. When I published the App for Android I chose Air 3.7.xxx for Android. I also created the p12 certificate using Flash CC in the publishing settigns for Android. So my App is theoretically finished and ready for Upload.
When I went to the Google Play Store Developer Console I had the options to
1.) Upload APK
2.) Prepare Store Entry
...so I prepared the Store entry first. When I go to "APK"-Tab in the console it looks like this:
... it says "Upload APK" and the Button below "Get Licence Key". When I click on the license Key Button it looks like this:
So I think I should enter this RSA-Key somehow into my App BEFORE uploading it to the Google Play Store. This is recommended when an Ap is set to be paid. My Application is set to paid.
I did not use any kind of licensing API (until now - cause I don´t know how and what it is for)
This is all new to me. It is the first App I want to bringt to the Android market. I really hoped it would be as easy as getting an app into the Apple App Store. I found so many step by step instructions for dummies on "How to get an Flash iOS App into the App Store plus creating all the certificates needed", so I thought it would be the same for Android. But there is no help at all at the moment. I am totally confused.
So any help, hint or instrusction would be great!!
By the way - this is the App I want to get into the Google Play Store
You need to use the RSA key provided by Google portal only when you're using licensing APIs in your application. Licensing APIs help you prevent the unauthorized usage of the APK.
Please see this for more details - http://developer.android.com/google/play/licensing/index.html
If you opt out of using the licensing APIs, then you don't need to use RSA key anywhere.
How to use Android licensing APIs in Adobe AIR - http://www.adobe.com/devnet/air/articles/android-licensing-native-extensions.html
thanks again! Ok - I had a look at this instruction and I have an aditional question:
If there is such an API extention in my Android App, does this prevent to install the App on any device?
... or will this prevent the App from being started - so everyone would need an internet connection to launch the app when I´ve added this to my app?
The Problem is - I do not have Flash Builder and I don´t know Java at all.
Is there no way to do this using Flash CC only - by any AS3 code ... or by getting the RSA-Key into my p12 file somehow?
... let´s say I´d be able to create this AndroidLicensingLib - is there a way to connect it to my Flash CC Project? If so - how do I do that?
Sorry for all my questions, but this is really hard for me at the moment ...
Best regards and Thank you!
could you please make a second Tutorial as you did it here:
How to use Android licensing APIs in Adobe AIR -http://www.adobe.com/devnet/air/articles/android-licensing-native-exte nsions.html
for Flash CC only Users? I am still stuck - please help.
I followed your Tutorial How to use Android licensing APIs in Adobe AIR and this is the Result.
There are many Warnings and Errors. This might be because I´m new to Flash Builder or because there were many Updates to the LVL and so on. Could you please have a look at my Screenshot and your tutorial and tell me what went wrong?
... and some help on how to add this stuff to my Flash CC Project without using FLashBuilder would be great as well
Best regards and thank you in advance
there is still no way to get the Google Play RSA-Key into my Android App using Flash CC on a Mac! I hoped to get some help from Adobe - but there is no help at all!! This sucks!
I had contact with about 5 Adobe Members - NO ONE is able to help (or answering). This sucks! So Adobe - stop saying that you can Build Android Apps using Flash CC and sell them on the Google Play Store - YOU CAN NOT!!! Pahups Tutorial is not working with the latest updates of Flash Builder + Android/Google Licenze-Stuff! I finished my Android App 3 weeks ago. There is no way to get the Google RSA-Key into my App. There should be a working tutorial on how to make this work!
Feel free to contact me if there is anyone at Adobe who is willing to help!
Thank you in advance!
We recently updated (on 15th July) the article to make it work with latest Google LVL offerings, not sure if you've already gone through it, could you please try this again? Also, we're looking into as to what might be causing your java errors.
To answer your question (why not with Flash CC) - as the Java project requires the RSA key in the code, it has to be built by the developer only, it can not be delivered as a pre-built ANE. Also, it's not mandatory to use Flash Builder, you could use any IDE which suppots Java, you just need to build the jar file.
Also, just wanted to let you know that it's not mandatory to use this LVL native extension, it's a recommendation from Google for paid apps on Play store.
thank you! I just tried it again and there are still several error messages and warnings. I updated Android Licensing and this is what it looks like now:
As I said - I´m only used to work with Flash - Flash Builder is new to me (and very complicated to understand). I don´t know anything about Java etc.
Couldn´t Adobe create a small helper Tool for this .jar File - a Tool with all needed stuff indsie? Where developers like me can enter the RSA-Key, press a Button and it works?
I know that this RSA-KEy is "only" recommended by Google, but as I want my App to be piad there should be an easier Way for Developers using Flash Cc to get this codes inside the App.
... let´s say I´ll manage to create this .jar file one day. What will I have to do with it / how do I get this file into my Flash CC Project?
No, this wouldn't prevent the installation on any device. If internet connection is not availabe then you will not be able to check the authenticity of the application, in that case you might want to block the user to proceed, up to you.
So with this RSA-Key inside my App everyone will be able to install the App on any device. But in order to launch the App you´ll need an internet connection, right!?
Is an internet connection needed for each start or just for the first start on each device?
Yes, the application can be installed on any device. Internet connection requirement would depend on your app logic. Basically, you need to decide if you want to check the authenticity (that the app is actually licsensed, purchased from Google play) of the app (by connecting to google lvl server using the ) on every launch or on 1st launch, recommendation is to have the function (which would check this) be called on every launch. Check the step 9 in "developing sample air app" section.
We're looking into the errors.