Code Monkey home page Code Monkey logo

Comments (13)

marpies avatar marpies commented on September 22, 2024

Hi @dnikolaev,

What AIR version are you using?

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

AIR 25

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

Did you find the problem?

from airfacebook-ane.

marpies avatar marpies commented on September 22, 2024

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.

dnikolaev avatar dnikolaev commented on September 22, 2024

Definitely there is a problem with Android 4.* and Android Support 25.2.0 I'll attach logs from the device.

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

android-4 3-support-25 2 0-1

android-4 3-support-25 2 0-2

android-4 3-support-25 2 0-3

android-4 3-support-25 2 0-4

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

There is a problem with AccountKit too.

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

There is the same problem with @marchbold GoogleIdentity ANE. We have to collaborate our efforts to resolve this issue.

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

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.

marpies avatar marpies commented on September 22, 2024

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.

dnikolaev avatar dnikolaev commented on September 22, 2024

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.

marpies avatar marpies commented on September 22, 2024

Ok thanks for the report.

from airfacebook-ane.

dnikolaev avatar dnikolaev commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.