[AC-4644] Can't create a .apk for my project
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2016-11-28T15:29:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Chatis |
Assignee | Shak Hossain |
Created | 2016-11-27T10:11:14.000+0000 |
Updated | 2016-11-28T17:57:15.000+0000 |
Description
Steps to Reproduce
I have updated to the last appcelerator version and now it's impossible for me to create an APK.. i receive this error
Actual Result
[INFO] : Processing JavaScript files
[INFO] : Encrypting JavaScript files: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium_prep.macos 'ch.plugin.plugin' '/Users/francois/plugin-app/build/android/assets' 'TitanUp/Device.js' 'TitanUp/LocationManager.js' 'TitanUp/TitanUp.js' 'TitanUp/UI/Sizer.js' 'TitanUp/UI/TGWM.js' 'TitanUp/UI/Theme.js' 'TitanUp/UI/UI.js' 'TitanUp/UI/Views/GalleryView.js' 'TitanUp/UI/Views/ManagedMapView.js' 'TitanUp/UI/Views/SelectBar.js' 'TitanUp/UI/Views/SimplePicker.js' 'analytics.js' 'app.js' 'socket.io.js' 'ui/FontAwesome.js' 'ui/checkbox.js' 'ui/forms.js' 'ui/leftMenuView.js' 'ui/menu.js' 'ui/semiModalPicker.js' 'user_registred/about_us.js' 'user_registred/add_partner.js' 'user_registred/find_partner.js' 'user_registred/jour.js' 'user_registred/profil.js' 'user_registred/reservation.js' 'user_registred/semaine.js' 'user_registred/socket.io.js' 'ti.cloud.js' '_app_props_.json'
[INFO] : Writing /Users/francois/plugin-app/build/android/bin/assets/app.json
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-gesture.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-geolocation.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-map.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-database.res.zip
[INFO] : Extracting module resources: /Users/francois/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-utils.res.zip
[INFO] : No aidl files to compile, continuing
[INFO] : Generating i18n files
[INFO] : Generating /Users/francois/plugin-app/build/android/res/values/theme.xml
[INFO] : Writing unmerged custom AndroidManifest.xml
[INFO] : Packaging application: /Users/francois/Documents/Android SDK/build-tools/23.0.1/aapt 'package' '-f' '-m' '-J' '/Users/francois/plugin-app/build/android/gen' '-M' '/Users/francois/plugin-app/build/android/AndroidManifest.xml' '-A' '/Users/francois/plugin-app/build/android/bin/assets' '-S' '/Users/francois/plugin-app/build/android/res' '-I' '/Users/francois/Documents/Android SDK/platforms/android-23/android.jar' '-F' '/Users/francois/plugin-app/build/android/bin/app.ap_' '--auto-add-overlay' '--extra-packages' 'ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview' '-S' '/var/folders/gq/prfb_n8x12lfq5ksmqcd42vm0000gn/T/1161027-58210-yhowah.ks7b9pmn29/res' '-S' '/var/folders/gq/prfb_n8x12lfq5ksmqcd42vm0000gn/T/1161027-58210-orfwu2.5n0acbx1or/res' '-S' '/var/folders/gq/prfb_n8x12lfq5ksmqcd42vm0000gn/T/1161027-58210-11qv98o.k0tb8g2e29/res'
2016-11-27T10:07:04.413Z | ERROR | An uncaught exception was thrown!
Path must be a string. Received undefined
2016-11-27T10:07:04.413Z | ERROR | Path must be a string. Received undefined
Expected Result
an APK I can send to my cellphone
Attachments
File | Date | Size |
.log | 2016-11-27T10:11:16.000+0000 | 1021 |
You need to check your node version
Please use a supported NodeJS version (e.g. 4.6.x) as documented [here](http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-Node.js). And our latest SDK is 6.0.0.GA, released two weeks ago :-)
I have the last version of node (7.2.0) and I have the last version of appcelerator (4.8) and the last SDK (6.0.0) and nothing works...
Please have a look at the matrix Hans posted. The maximum supported node version is 4.6.x at the moment
oo Sorry.. I don't understand really good... So all right I put the 4.6.x and work fine