ivk1800 / tdlib-dart

MIT License
19 stars 12 forks source link

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libtdjsonandroid.so': dlopen failed: library "libtdjsonandroid.so" not found #11

Closed cloudoftg0 closed 9 months ago

cloudoftg0 commented 9 months ago

I have imported package via pubspec.yaml using
tdlib: git: url: https://github.com/ivk1800/tdlib-dart.git ref: master # branch name

i have placed files in android/app/main/jniLibs/ i have changed app/build.gradle.

yet it throws this error while calling newClient.initialize();

cloudoftg0 commented 9 months ago

According to instructions file should be put in "android/app/main/jniLibs/" which is wrong. the correct path is "android/app/src/main/jniLibs/"