This is a migrated thread and some comments may be shown as answers.

How to make an .apk ?

18 Answers 355 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Audrey
Top achievements
Rank 1
Audrey asked on 29 Nov 2012, 07:17 AM
Hello,
could you explain to me how to create an apk with Icenium ?
I looked for on Google but I didn't find anything...

Thanks for futures replies.
Aud'

18 Answers, 1 is accepted

Sort by
0
Jan-Dirk
Top achievements
Rank 1
answered on 29 Nov 2012, 08:56 AM
Hi Audrey,

It's really simple. If you have created the code signing identity for Android, then you can right click the 2nd icon in the Project Navigator and select 'Publish' in the context menu.

In the 'Publish' dialog, select 'Google Play' and click the 'Build' button. After a while, when building the apk has finished, you can save it in the folder of your choice through a 'Save as' dialog.

I hope this helps!
0
Audrey
Top achievements
Rank 1
answered on 29 Nov 2012, 09:21 AM
Thanks, yes it helps !
But now my problem is how to use an existing signature ?
0
Jan-Dirk
Top achievements
Rank 1
answered on 29 Nov 2012, 09:57 AM
In Graphite options (top right dropdown menu) -> General -> Certification mangement you can import identities. Not sure what to do next. To be honest, I am not a hero with the certification stuff.

Maybe someone from Icenium can jump in...
0
Audrey
Top achievements
Rank 1
answered on 29 Nov 2012, 10:00 AM
Yeah I saw that. But it needs a .cer or a .p12 file. With Eclipse, I got a keystore file...
Well, I'm gonna waiting for an Icenium Employee's reply ^^

Thanks anyway :D
0
Yavor Georgiev
Telerik team
answered on 29 Nov 2012, 10:45 AM
Hi Audrey,

 Using Java's keytool you can convert a keystore file to a p12 file like so:
keytool -importkeystore -srckeystore keystore.jks -srcstoretype JKS -deststoretype PKCS12 -destkeystore keystore.p12

Greetings,
Yavor Georgiev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Audrey
Top achievements
Rank 1
answered on 29 Nov 2012, 01:47 PM
Hi, thanks for reply !
I feel it's gonna help but I don't know where to write these words...
0
Jan-Dirk
Top achievements
Rank 1
answered on 29 Nov 2012, 01:50 PM
you probably need to have the Java SDK installed and then run the tool in a command prompt.

The SDK is (or should be) installed in C:\Program Files\Java\jre?\bin (where ? is a version number)
0
Audrey
Top achievements
Rank 1
answered on 29 Nov 2012, 02:38 PM
Hi, I did what you said, but it told me that my keystore was an invalid format. It hasn't any extension at the end, neither .jks nor .pkcs12 nor .store....
So I had an extension and then it told me my keystore was an invalid format too... What do I have to do ?
0
Yavor Georgiev
Telerik team
answered on 29 Nov 2012, 03:29 PM
Hi Audrey,

 Unless you specify otherwise, Eclipse ADT creates a keystore file named "key" in your home folder. On Windows this should be C:\Users\USERNAME. Once you locate your keystore file, note down its path. In the command snippet I sent you, you will need to type the path to the file after the -srckeystore switch, instead of keystone.jks, which is an example name.

 Alternatively, you can use keyTool IUI to convert your keystore to a PKCS12 store compatible with Icenium.

All the best,
Yavor Georgiev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Audrey
Top achievements
Rank 1
answered on 30 Nov 2012, 07:19 AM
Hi, thnaks for reply. No I had change de path but  I know where the keystore file is because I used it for an update of my appli with Eclipse.

The commande line semmed to work, asked me the password twice, and then told me my keystore format was invalid, again...

I'll try to understand how to use keyTool IUI, hooping it's gonna work... Could you help me and indicate me a link of a tutorial or explain to me how keyTool IUI works ?...
0
Yavor Georgiev
Telerik team
answered on 30 Nov 2012, 10:22 AM
Hello Audrey,

 From within keyTool IUI, navigate to Create > Keystore. Make sure the PKCS12 type is selected, browse to where you would like keyTool IUI to save the new keystore and click Ok. This will create an empty .p12 file.

 Next you need to go to Import > Keystore's entry > Private key > From other keystore. In the Source view browse to the keystore file Eclipse ADT created for you. Make sure the JKS type is selected for the Source keystore. Next, in the Target view browse to the .p12 file you just created. Don't forget to set the type here to PKCS12. Click Ok and keyTool IUI should transfer the entries to the new keystore.

 Finally, you can import the .p12 file in Icenium.

Kind regards,
Yavor Georgiev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Audrey
Top achievements
Rank 1
answered on 30 Nov 2012, 01:01 PM
But Keytool IUI is not a .exe... The .zip il full of folders and I don't know ow to find Create new Keystore...

0
Jan-Dirk
Top achievements
Rank 1
answered on 30 Nov 2012, 01:08 PM
Audrey,

Have a look at this site and click the link right below the coffee cup in the middle of the screen.

Please not that it is a WebStart version of KeyToolIUI which requires that you have Java installed.

I hope this helps!
0
Audrey
Top achievements
Rank 1
answered on 03 Dec 2012, 09:50 AM
Hi,
I did what you said but it didn't work.
First, I downloaded a bad version of Keytool IUI :
I created an empty .jsk and I imported what I had in my keystore to the empty .jsk. Then I use the command line to convert the .jsk to a .cer. It worked, but when I updated the new version of my app on Google Play, it told my it wasn't the same signature. 

So I downloaded the good version of Keytool IUI (that Jan-Dirk sent to me the link) and : I created an empty .p12 but when I wanted to import my current keystore into it, Keytool IUI indicated me that the .p12 was invalid or something like that...  

Is my only way to update a new version of my app is to use a new keystore ? Or is there really a way to generate a p12 or cer which allows me to update a new version without delete the current one to make a new ?
 



0
Yavor Georgiev
Telerik team
answered on 03 Dec 2012, 10:37 AM
Hi Audrey,

 I'm afraid that it is a requirement of the Play Store to upload new versions of your app signed with the same key.

 When you went to the From other keystore view in Keytool IUI to import the keys from your original keystore, did you remember to select the PKCS12 type for the Target keystore and JKS for the Source?

 If you like, you can record your actions in a video (like screencast.com) and share it so I can see exactly what happens in Keytool IUI.

Regards,
Yavor Georgiev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Audrey
Top achievements
Rank 1
answered on 11 Dec 2012, 07:41 AM
Hi, finally I created a new keystore from Icenium directly...
Thanks anyway :)
0
Rohan
Top achievements
Rank 1
answered on 18 Nov 2015, 05:02 AM
but how to create .apk file for testing and using local mobile
0
Dimitrina
Telerik team
answered on 20 Nov 2015, 10:47 AM
Hi Audrey,

I would suggest you to start with the documentation on Mobile App Development with AppBuilder. You can then continue following the topic on: Create and Run an App in Minutes with the AppBuilder in-browser client.

I would especially recommend the Interactive Tutorials available within the Telerik Platform portal as they provide step-by-step instructions on how to create and build different apps. 
Further, you can examine the samples we provide to quickly test the coreCordova APIs and some of the Kendo UI and jQuery Mobile widgets.

I hope you'll find them useful. Should you have any other questions, do not hesitate to contact us.


Regards,
Dimitrina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
Audrey
Top achievements
Rank 1
Answers by
Jan-Dirk
Top achievements
Rank 1
Audrey
Top achievements
Rank 1
Yavor Georgiev
Telerik team
Rohan
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or