Giter Club home page Giter Club logo

Comments (7)

doneill avatar doneill commented on August 11, 2024

@delatitude Did you run this sample with the emulator? Specifically the an x86 emulator?

from arcgis-runtime-samples-android.

delatitude avatar delatitude commented on August 11, 2024

Thanks. Yes, I am testing on emulator in Android Studio (Nexus 5 API 21 x86). You have pointed me to the right direction. Running this app on device worked with no issues. Are there any steps to overcome issue with the emulator ?

from arcgis-runtime-samples-android.

doneill avatar doneill commented on August 11, 2024

We have a known issue with respect to using our AAR SDK bundle with x86 emulators. From our release notes

x86 native *.so files bundled in AAR do not work on android stock x86
emulator. They do work on device. If you need to test on x86 emulator then you
need to should not use the AAR bundle and instead add all the libs manually.

You can either create an ARM based emulator or use a physical device. If you must use an x86 emulator than you need to set up your app manually.

from arcgis-runtime-samples-android.

delatitude avatar delatitude commented on August 11, 2024

Indeed, your answers solved my problem. Thanks.

from arcgis-runtime-samples-android.

pengkv avatar pengkv commented on August 11, 2024

1、在build.gradle里面加
defaultConfig {
multiDexEnabled true
}
2、在Application里面加
@OverRide
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
3、编译试试

from arcgis-runtime-samples-android.

parcool avatar parcool commented on August 11, 2024

@pengkv 没用。。。试过了!小米note正常,三星galaxy s7 edge直接闪退!

from arcgis-runtime-samples-android.

SnowyWinter avatar SnowyWinter commented on August 11, 2024

我也遇到了这个问题

from arcgis-runtime-samples-android.

Related Issues (20)

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.