[TIMOB-24194] Can't build android module from studio, but CLI works well
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2018-07-23T15:43:51.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Shuo Liang |
Assignee | Unknown |
Created | 2016-11-30T01:27:08.000+0000 |
Updated | 2018-07-23T15:43:51.000+0000 |
Description
Reproduce
Customer facing following problem
They are not able to build android module through studio.
But using CLI to build is working well.
Error
Attached screen shot of error, and the studio log when it happened.
Note
Attached diagnostic Test log as well
Attachments
I couldn't able to reproduce this issue with the following environment.
[~sliang] - Can you check the android version. We officially support Android 6.0 and lower.
[~sliang] Can you also attach the console log error.
[~ssekhri][~emerriman] - Can you reproduce this?
Can reproduce the issue consistently. However the same error is also shown using CLI as well. The issue occurs with android version 6.0 as well as 7.0. Also checked with latest Android SDK build tools (25.0.1) and with older version of build tools (23.0.1) Also tested with different versions of Android ndk and jdk on the system as mentioned in the test environment below. However still was getting the issue. Environment: Mac OSX 10.12 Ti SDK: 6.0.0.GA Appc Studio: 4.8.0.201611121409 Appc NPM: 4.2.8 App CLI: 6.0.0 Node JS: 4.6.0 JDK: 1.7.0, 1.8.0 Android NDK: r9b, r11c, r12b Following is the error as shown in console
[~gmathews] - ^^
[~ssekhri] Could you try this and post your CLI output? The studio logs don't contain anything useful.
Somehow, I was not able to reproduce this issue the modules built fine for me from CLI & studio. Appc Studio : 4.8.0.201611121409 SDK Version : 6.0.0.GA Mac OS Version : 10.12 Xcode Version : Xcode 8.1 Build version 8B62 Appc CLI AND Appc NPM : {"NPM":"4.2.8","CLI":"6.0.0"} Ti CLI : 5.0.10 Alloy : 1.9.4 Node : v4.6.0 Java version "1.8.0_101" NDK: r12b
Hi ! the error that the customer is getting is different, please take a look:
Here is the Appc info, as you can see, the nodejs is a valid version and the NDK is higher than 10
[~rramirez] What does their
build.properties
contain? Also, get them to try usingappc run -p android --build-only
instead ofant
[~gmathews] I created a new module using appc new and then ran the cli commands you asked for. Below is the CLI output
[~nmishra] Is this still an issue for them?