Code Monkey home page Code Monkey logo

Comments (17)

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024 4

@jayeshpansheriya Any soluation?
R8 is the new code shrinker from Google, and it’s enabled by default when you build a release APK or AAB. To disable R8, pass the --no-shrink flag to flutter build apk or flutter build appbundle.

flutter build apk --release --no-shrink

from agora-flutter-rtm-sdk.

plutoless avatar plutoless commented on July 20, 2024

usually this is caused by abi-filter, please double check that.

from agora-flutter-rtm-sdk.

LichKing-2234 avatar LichKing-2234 commented on July 20, 2024

pls provide the crash log

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

usually this is caused by abi-filter, please double check that.

ndk {
abiFilters 'armeabi-v7a', 'x86' ,'arm64-v8a'
}

i have already added.

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

pls provide the crash log

--------- beginning of crash
2020-05-08 10:21:05.188 25559-25559/com.example.agoraflutterquickstart E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.agoraflutterquickstart, PID: 25559
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/expand/b6a7c026-a55f-41b3-81fd-ef0a1bbdd477/app/com.example.agoraflutterquickstart-ln_h3PBMqx2uzZnVfVq2hQ==/base.apk"],nativeLibraryDirectories=[/mnt/expand/b6a7c026-a55f-41b3-81fd-ef0a1bbdd477/app/com.example.agoraflutterquickstart-ln_h3PBMqx2uzZnVfVq2hQ==/lib/arm64, /mnt/expand/b6a7c026-a55f-41b3-81fd-ef0a1bbdd477/app/com.example.agoraflutterquickstart-ln_h3PBMqx2uzZnVfVq2hQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]] couldn't find "libflutter.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at io.flutter.embedding.engine.loader.FlutterLoader.startInitialization(FlutterLoader.java:120)
at io.flutter.embedding.engine.loader.FlutterLoader.startInitialization(FlutterLoader.java:88)
at io.flutter.view.FlutterMain.startInitialization(FlutterMain.java:48)
at io.flutter.app.FlutterApplication.onCreate(FlutterApplication.java:24)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5902)
at android.app.ActivityThread.access$1200(ActivityThread.java:206)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1678)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6702)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

you can also check code from my github repository.

https://github.com/jayeshpansheriya/Agora-Flutter-Quickstart

from agora-flutter-rtm-sdk.

LichKing-2234 avatar LichKing-2234 commented on July 20, 2024

what command did you use to generate debug or release .apk file?

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

flutter build => for debug
flutter build apk --release => for release apk

http://sendota.com/GfRs5Qta

you can download app from here.

from agora-flutter-rtm-sdk.

LichKing-2234 avatar LichKing-2234 commented on July 20, 2024

try gradle assemble?

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

try gradle assemble?

yes

from agora-flutter-rtm-sdk.

LichKing-2234 avatar LichKing-2234 commented on July 20, 2024

is it worked?

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

is it worked?

no

i have shared my github repository you can check it

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

in ios build i got
login failed errorCode:9

No permission. This is for internal SDK internal use only, and it will not return to the application through any API or callback event.

from agora-flutter-rtm-sdk.

LichKing-2234 avatar LichKing-2234 commented on July 20, 2024

No permission exists. Check if the user has granted access to the audio or video device.

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024
<key>NSCameraUsageDescription</key>
   <string>The app tries to use your camera</string>
   <key>NSMicrophoneUsageDescription</key>
   <string>The app tries to use your microphone</string>

i have already added and permission is granted

from agora-flutter-rtm-sdk.

jayeshpansheriya avatar jayeshpansheriya commented on July 20, 2024

usually this is caused by abi-filter, please double check that.

ndk {
abiFilters 'armeabi-v7a', 'x86' ,'arm64-v8a'
}

i have already added.

i have already agged all configuration then why my build apk is not working?

from agora-flutter-rtm-sdk.

LichKing-2234 avatar LichKing-2234 commented on July 20, 2024

@jayeshpansheriya Any soluation?

from agora-flutter-rtm-sdk.

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.