-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android issues starting from Ti SDK 5.1 #45
Comments
@ashcoding Looks like we need to recompile this one as well? |
@hansemannn this might be another issue that is not related to recompilation. |
I'm having the same problem |
@luiselizondo Could you describe what you are facing? Provide logs and info on what version of Android that faces this issue. Etc etc... |
Sure, this is the code I'm running
On an .xml file I have:
And basically I want to insert the admob view inside the androidAdView view. I'm using the version ti.admob-android-2.1.6.zip downloaded from the android/dist directory and it is only activated for android. My tiapp.xml has the following code:
The application does not even start on the simulator, it crashes. I'm using Genymotion and it crashes on all the simulators I have. The following logs show up when running a Samsung Galaxy S5 4.4.4 API 19 emulator
|
@ashcoding any help that you can provide will be much appreciated |
The logs looks bad. :( This is using Titanium SDK 5.1.0? |
@ashcoding These are the latests logs using SDK 5.3.1, Android tool-api-level 23 and ti.admob version 2.1.6
The code used is simple:
I'm wondering why is Google Play Services and if there's a dependency how to install it |
I created a JIRA ticket here: https://jira.appcelerator.org/browse/MOD-2269 which relates to https://jira.appcelerator.org/browse/TIMOB-20398 |
My guess would be that something is not happy with this https://github.com/appcelerator-modules/ti.admob/tree/master/android/lib The stripped version of Google Play was the major change in 2.1.6. Are you able to use 2.1.5 without any issues? |
No. I can't make it work with 2.1.5 either |
Same issues with 2.1.5? |
ti.admob-android-2.1.7.zip (This is purely for testing and not an official 2.1.7) I didn't do anything special with this. This is 2.1.6 that is recompiled and renamed 2.1.7. I didn't face any issues using this. Can't reproduce your error. Could you try it out? Also, are they any other modules that you are using? Perhaps they could be contributing to this error? |
No, it didn't work. I'm still getting the same error, which I think is because of:
and because of: I don't have any modules installed but ti.admob and ti.cloud. Am I missing something obvious? Like installing Google Play Services or a dependency of some kind? |
I don't think you've done anything wrong... Really want to solve this. |
Latest, which I guess is 3.2.10 at the moment I'm writing this. |
Thanks. I'll check this. |
Have there been any updates on this? I'm getting the same errors as luiselizondo, I'm using ti.admob but not ti.cloud (I am using a GCM module and a few others). I recently release a production version of my app and I'm seeing crashes related to the admob module for Android 6 devices. |
…en-4.3.0 build(deps-dev): bump commitizen from 4.2.4 to 4.3.0
Since I updated to Ti SDK 5.1, Android ti.admob module no longer works. When I add the view to the window, win.add(adMobView); the app crashes :(
The text was updated successfully, but these errors were encountered: