[TIMOB-23708] Hyperloop: Android aar without asset folder fails compiling
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-30T14:52:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0, hyperloop 1.2.5 |
Components | Android, Hyperloop |
Labels | aar, android, hyperloop, needTestCase |
Reporter | Michael Gangolf |
Assignee | Christopher Williams |
Created | 2016-07-30T14:21:45.000+0000 |
Updated | 2016-09-08T22:45:18.000+0000 |
Description
Including an .aar file which doesn't have an assets folder fails compiling with the following error:
[ERROR] Failed to extract/handle aar zip: /Users/appdev/Development/Titanium_Workspace/Active/hyperloopFCM/platform/android/firebasemessaging.aar
[ERROR] An error occurred during build after 1s 594ms
[ERROR] ENOENT, stat '/Users/appdev/Development/Titanium_Workspace/Active/hyperloopFCM/build/hyperloop/android/firebasemessaging/assets'
Used aar: Firebase-messaging 9.2.1 from the google sdk (/extras/google/m2repository/com/google/firebase/firebase-messaging/)
hyperloop 1.2.0.Beta
SDK 5.4.0
Android 6.0.1
PR: https://github.com/appcelerator/hyperloop.next/pull/44
[~michael] Would you be so kind and write-down a simple "steps to test" here, so our QE can verify the fix?
*Testcase:* Copy
AndroidSDK/extras/google/m2repository/com/google/firebase/firebase-messaging/9.2.1/firebase-messaging-9.2.1.aar
toapps/platform/android
and try to compile the app. It will stop compiling with the error message above. The include code when it is extracted would be:Verified the fix. Compile completes successfully for android aar without asset folder. Closing. Environment: Appc Studio : 4.8.0.201609061702 Ti SDK : 6.0.0.v20160908065418 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.8-6 Appc CLI : 6.0.0-38 Node: 4.4.4 Nexus 6 - Android 6.0.1