私はこの方法を使用してネイティブのAndroid上で横断歩道を埋め込むしようとしていますここで説明: embed crosswalk in android studioフォースのAndroid Studioの外部ライブラリのARM64バージョンをコンパイルする
を私が午前問題はアンドロイドスタジオが必要なライブラリを構築していないことですそれらのライブラリがMavenリポジトリにあるとしても、ARM64用です。
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "my.app.id"
minSdkVersion 19
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven {
url 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2'
}
flatDir{
dirs 'libs'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'org.xwalk:xwalk_core_library:22.52.561.4'
compile (name: 'wikitudesdk', ext:'aar')
testCompile 'junit:junit:4.12'
}
これらのライブラリをコンパイルするexpicitlyアンドロイドスタジオを伝える方法があります:ここで
は私のbuild.gradleファイルのですか?
このソリューションをテストする時間が見つかりましたが、残念ながらうまくいきません。私はまだcrosswalkのarm64バージョンを取得していない。 libnativesdk.soのみがlibライブラリにあります –