Comments (17)
@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.
usually this is caused by abi-filter, please double check that.
from agora-flutter-rtm-sdk.
pls provide the crash log
from agora-flutter-rtm-sdk.
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.
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.
you can also check code from my github repository.
https://github.com/jayeshpansheriya/Agora-Flutter-Quickstart
from agora-flutter-rtm-sdk.
what command did you use to generate debug or release .apk file?
from agora-flutter-rtm-sdk.
flutter build => for debug
flutter build apk --release => for release apk
you can download app from here.
from agora-flutter-rtm-sdk.
try gradle assemble?
from agora-flutter-rtm-sdk.
try gradle assemble?
yes
from agora-flutter-rtm-sdk.
is it worked?
from agora-flutter-rtm-sdk.
is it worked?
no
i have shared my github repository you can check it
from agora-flutter-rtm-sdk.
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.
No permission exists. Check if the user has granted access to the audio or video device.
from agora-flutter-rtm-sdk.
<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.
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.
@jayeshpansheriya Any soluation?
from agora-flutter-rtm-sdk.
Related Issues (20)
- 是否考虑支持windows 和 mac os呢 HOT 1
- Login errorCode:8 and Logout errorCode:102 HOT 1
- Send peer message error: sendMessageToPeer failed errorCode:4 HOT 1
- Defective OpenSSL Version HOT 3
- iOS crashed when app in background for a while HOT 3
- RTM failed to login HOT 5
- [iOS]App退到后台后被系统迅速挂起,来电后onRemoteInvitationReceivedByPeer回调方法无响应,无法知晓远端来电
- warning: the '-d' option with a directory destination is ignored because '-Xbuild-file' is specified HOT 1
- 1.5.1 crash
- Unhandled Exception when calling onPeersOnlineStatusChanged HOT 2
- Can you update example to lastest version of package? HOT 3
- Crash in destroy client HOT 1
- AgoraRtmLocalInvitation Error HOT 3
- ios crash EXC_BAD_ACCESS (SIGSEGV), subtype = KERN_INVALID_ADDRESS HOT 4
- How can I acceptRemoteInvitation HOT 1
- Flutter Desktop Support (Windows / MacOS) HOT 1
- Not receiving message from client or channel HOT 2
- Upgrade to v2 of the native sdks and update the apis
- Sent messages to the same channel from the web SDK aren't received HOT 1
- Work on WIFI NOT 5G/4G FLUTTER
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 agora-flutter-rtm-sdk.