Comments (13)
Hi @dnikolaev,
What AIR version are you using?
from airfacebook-ane.
AIR 25
from airfacebook-ane.
Did you find the problem?
from airfacebook-ane.
It's strange issue and I'm not sure what's causing it. It happened to me on Android 6 as well but now it's working again, even on Android 4. I'll have to investigate a little more.
from airfacebook-ane.
Definitely there is a problem with Android 4.* and Android Support 25.2.0 I'll attach logs from the device.
from airfacebook-ane.
from airfacebook-ane.
There is a problem with AccountKit too.
from airfacebook-ane.
There is the same problem with @marchbold GoogleIdentity ANE. We have to collaborate our efforts to resolve this issue.
from airfacebook-ane.
AIR 25.0.0.134
Android 4.3, 4.2.2
Android Support 25.2.0
If I backward to Android Support 24.0.0 (with AIRFacebook_1.4.5) all is ok with Android 4.*
If I use Android > 4.* all is ok.
from airfacebook-ane.
Did you check the number of method references after you create APK with Android support 25.2? Maybe it puts you over the 64K method limit which may be a problem on Android 4 where it is not natively supported. Could you try packaging it with AIR 24 just to check?
I can't reproduce it with my sample project where AIRFacebook v1.5.0 and AccountKit v1.3.0 is packaged together. I can login just fine on Android 4.4 and Android Support 25.2.0. There must be something else going on.
from airfacebook-ane.
I'm not hitting the 64k function limit. According to APK method count – 49251 (multidex enabled).
It looks like I've found the solution. If I compile with AIR 24.0.0.180, ANEs will work perfect. According to APK method count – 48542. So AIR 25.0.0.134 (multidex enabled) with Android Support 25.2.0 are not compatible with Android 4.3, 4.2.2
from airfacebook-ane.
Ok thanks for the report.
from airfacebook-ane.
I've just found the solution for this bug.
You need to change the manifest additions for the application tag to match the following and use the MultiDexApplication:
<manifest android:installLocation="auto">
<!-- PERMISSIONS -->
<application android:name="android.support.multidex.MultiDexApplication">
<!-- ACTIVITIES / RECEIVERS / SERVICES -->
</application>
</manifest>
from airfacebook-ane.
Related Issues (9)
- Unable to compile using AIRFacebook-ANE HOT 6
- JSON parse issue with ar-AE locale HOT 1
- AIR 24, Invoke Handler Issue HOT 2
- java.lang.NoSuchMethodError: No virtual method launchUrl HOT 2
- Don't work in OS 10 / IPhone 5 HOT 1
- IOS 10 : login with app never return
- Flash Builder4.7(64 bit) Show error during Building project HOT 1
- i taken this message. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airfacebook-ane.