hansemannn / titanium-firebase-cloud-messaging

Use the Firebase Cloud Messaging SDK in Axway Titanium 🚀 Edit
Other
43 stars 31 forks source link

Unable to build module #108

Closed DCareClues closed 4 years ago

DCareClues commented 4 years ago

After cloning code and making some changes build is n't happening Screen Shot 2020-04-15 at 2 23 07 PM

Thanks in advance

m1ga commented 4 years ago

Do you have Android NDK installed? appc ti config android

android.ndkPath      =  "/home/user/tools/Android/ndk/" 
android.sdkPath      =  "/home/user/tools/Android/sdk/" 

Since it is not related to the module I'll close this ticket. Feel free to ask in ti-slack again if the problem still exists after you've checked the NDK paths

DCareClues commented 4 years ago

Thanks. Checked, Android NDK isn't installed. Could you tell me which version to install latest showing 21.0.6113669

m1ga commented 4 years ago

I didn't update in a while (I'm still using 16) https://github.com/appcelerator/titanium_mobile/blob/master/android/package.json#L33 is always the best source.

The documentation https://wiki.appcelerator.org/display/guides2/Installing+the+Android+NDK says 11+ :-)

DCareClues commented 4 years ago

I have installed ndk

Screen Shot 2020-04-15 at 4 05 49 PM

Getting below error

Screen Shot 2020-04-15 at 4 06 14 PM
m1ga commented 4 years ago

wrong ti.playservice version. If you want to use the latest please follow this PR https://github.com/hansemannn/titanium-firebase-cloud-messaging/pull/104 or use version 16.1.4