Я использовал rn v0.63.3 до тех пор, пока эти события с провалами сборки. Теперь мое приложение снимается мгновенно после строительства в режиме разработки. < /strong> < /p>
Журнал ошибок: < /p>
Java.lang.unsatisfiedLinkError: не удалось найти DSO для загрузки: libturbomodulejsijni.so
sosource 0: com.febook /DATA/USER/0/com.zcarpet/lib-main flags = 1]
sosource 1: com.facebook.soloader.directorysosource [root = ...
I обновил версию My Gradle с 3.5.2 до 3.5. \ Android \ build.gradle: < /li>
< /ol>
configurations.all {
resolutionStrategy {
force "com.facebook.react:react-native:0.63.5"
}
}
< /code>
Добавить ниже код в \ android \ build.gridle: < /li>
< /ol>
project.ext.react = [
enableHermes: false, // clean and rebuild if changing
deleteDebugFilesForVariant: { false }
]
< /code>
Многие другие исправления, которые не могли бы помочь ... < /li>
< /ol>
Конфигурации моего проекта: < /p>
buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
}
repositories {
google()
mavenCentral()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath("com.android.tools.build:gradle:3.5.3")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
if (useIntlJsc) {
implementation 'org.webkit:android-jsc-intl:+'
} else {
implementation 'org.webkit:android-jsc:+'
}
}
}
allprojects {
configurations.all {
resolutionStrategy {
force "com.facebook.react:react-native:0.63.5"
}
}
repositories {
google()
jcenter()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
maven { url 'https://s3.amazonaws.com/repo.commonsware.com' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://www.jitpack.io' }
maven { url "https://maven.google.com" }
google()
maven { url 'https://www.jitpack.io' }
}
// Workaround for https://issuetracker.google.com/117900475
// Remove when upgrading to AGP 3.4 or higher.
configurations.matching { it.name == '_internal_aapt2_binary' }.all { config ->
config.resolutionStrategy.eachDependency { details ->
details.useVersion("3.5.0-alpha03-5252756")
}
}
}
Подробнее здесь: https://stackoverflow.com/questions/743 ... kerror-cou
Приложение сводится мгновенно после сборки: java.lang.unsatisfiedlinkerror: не удалось найти DSO для загрузки: libturbom ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Java.lang.unsatisfiedlinkerror: может найти DSO для загрузки: LibreActnativeJni.so
Anonymous » » в форуме Android - 0 Ответы
- 3 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Java.lang.unsatisfiedlinkerror: может найти DSO для загрузки: LibreActnativeJni.so
Anonymous » » в форуме C++ - 0 Ответы
- 3 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Java.lang.unsatisfiedlinkerror: может найти DSO для загрузки: LibreActnativeJni.so
Anonymous » » в форуме Javascript - 0 Ответы
- 2 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Java.lang.unsatisfiedlinkerror: может найти DSO для загрузки: LibreActnativeJni.so
Anonymous » » в форуме C++ - 0 Ответы
- 2 Просмотры
-
Последнее сообщение Anonymous
-