Software Archive
Read-only legacy content
17061 Discussions

Android Build error, don't know how to read it/what to do

Aron_J_1
Beginner
300 Views

http://pastebin.com/0ipRaA5F

I was building an android app from Construct 2. Thanks for any help.

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
300 Views

Not seeing anything obvious in that detailed build log. How large is your project? Above about 400 MB can cause an out of space problem with the builder.

0 Kudos
Aron_J_1
Beginner
300 Views
Paul F. (Intel) wrote:

Not seeing anything obvious in that detailed build log. How large is your project? Above about 400 MB can cause an out of space problem with the builder.

Its no more than 5mb. I'm not sure if this has any correlation but when launching the test app through Intel xdk on IOS I get a black screen with the error "index.html - fetching data js"
0 Kudos
PaulF_IntelCorp
Employee
300 Views

Aron -- I assume you mean that you are loading the app inside of App Preview (via the Test tab)? If that is the case, then the build error is likely unrelated. There is a known issue with iOS 10 devices and Construct2 apps, if they are not configured to use the WkWebView option. I'm not sure how that plays out in App Preview on an iOS 10 device. See this forum post > https://software.intel.com/en-us/forums/intel-xdk/topic/685395 < for information regarding that issue.

Regarding the Android build error, some things to try:

  • remove all non-core Cordova plugins and build again
  • change the "optimize with Crosswalk" option and try building
  • try different versions of CLI and try building
0 Kudos
Aron_J_1
Beginner
300 Views

Paul F. (Intel) wrote:

Aron -- I assume you mean that you are loading the app inside of App Preview (via the Test tab)? If that is the case, then the build error is likely unrelated. There is a known issue with iOS 10 devices and Construct2 apps, if they are not configured to use the WkWebView option. I'm not sure how that plays out in App Preview on an iOS 10 device. See this forum post > https://software.intel.com/en-us/forums/intel-xdk/topic/685395 < for information regarding that issue.

Regarding the Android build error, some things to try:

  • remove all non-core Cordova plugins and build again
  • change the "optimize with Crosswalk" option and try building
  • try different versions of CLI and try building

 

Okay, I solved the first issue - it appears that I had the name of a certain image like 200 characters long which was causing an error lol.

I understand that this is a c2 issue, but i've seen your replies on the thread you gave me regarding the error, so I was wondering if you had any more information on the issue. When I open my c2runtime.js file, I Cntrl+F for anything with Webkitview or IOS etc, but I can't find it. Any ideas why?

0 Kudos
PaulF_IntelCorp
Employee
300 Views

Aron -- you need to search for "isWKWebView" in the c2runtime.js file. Here's the relevant forum post > https://software.intel.com/en-us/forums/intel-xdk/topic/685395 <

0 Kudos
Reply