Community
cancel
Showing results for 
Search instead for 
Did you mean: 
re_s_
Beginner
114 Views

Building an APK

Hi,

To build an APK, i go to the BUILD tab, i select android and i click on "start" but the generated file is not an APK.
Can you please check my log and tell me what i need to do to build an APK?

thanks in advance
 

Build Log

  • Building a Cordova 5.4.1 application.
  • Using platform cordova-android 5.0.0.
  • The application name is "test"
  • The package name is "xdk.intel.blank.ad.template.crosswalk"
  • Preference android-signed set to false. Application will not be signed.
  • Using Crosswalk Embedded 16
  • Plugin "cordova-plugin-legacy-whitelist" (1.1.1) installed.
  • Plugin "cordova-plugin-crosswalk-webview" (1.5.0) installed.
  • App name updated to [test]
  • Updated "minSdkVersion" with "14"
  • Updated "targetSdkVersion" with "23"
  • Updated "installLocation" to "auto"
  • Updated "versionCode" to "1"
  • Updated "versionName" to "0.0.1"
  • Added "debuggable" to "false"
  • The application will not be signed.
  • The application will not be signed.
Tags (2)
0 Kudos
12 Replies
Swati_S_Intel1
Employee
114 Views

You haven't signed the application. Pleases check the checkbox "signed" in the build settings and rebuild the app.

re_s_
Beginner
114 Views

Thanks for your answer,

I signed it and the downloaded app is something like: test.cordova.crosswalk.20160324556 but what i need is an apk file. Any ideas?

Swati_S_Intel1
Employee
114 Views

It's building for Android with crosswalk runtime. For crosswalk the it builds for arm and x86 architectures, so you get 2 APKs. To build for Android only uncheck the checkbox "Optimize with Crosswalk" at the top of the build settings.

re_s_
Beginner
114 Views

optimize with crosswalk was checked.

re_s_
Beginner
114 Views

Sorry i thought you said that i must check it.

It works now but my app is not crosswork anymore right?
thanks in advance

Anusha_M_Intel1
Employee
114 Views

Yes, if you did not select the check box 'optimize with crosswalk' then your app is not a crosswalk app. 

re_s_
Beginner
114 Views

Thanks but how can i make a crosswalk apk file?

Swati_S_Intel1
Employee
114 Views

What you got earlier was a crosswalk build. When you have "optimize for corsswalk" checked and you build for Android, you get the Android with crosswalk build. For crosswalk you get a zip file which contains two APKs, one for Arm architecture and one for x86 architecture. 

re_s_
Beginner
114 Views

Sorry i havent got a zip but a file without extension. i'll try again later thanks for your helpful answer

Anusha_M_Intel1
Employee
114 Views

If you download the crosswalk build via the UI (in v3088), you should get a zip file. Alternately, you can download the build via email where you will get the following options:

The Cordova Android build for xxx was successful.

You can download your application Zip file with this secure link.

You can download your application ARM file with this secure link.

You can download your application x86 file with this secure link.

You can download your application Log file with this secure link.

The arm and x86 builds will download an apk file. 



 

re_s_
Beginner
114 Views

I am sorry i still dont get a zip through Intel XDK.  downloading the Zip through email works well.

Thanks everyone who answered my question.
 

Swati_S_Intel1
Employee
114 Views

It sounds strange that you are getting zip through email but not through the build interface. Can you please check if your download is complete. Sometimes the file is given temporary name till the download finishes. 

Reply