-
Notifications
You must be signed in to change notification settings - Fork 7
Getting Bunsen to compile
Chris E. Kelley edited this page Nov 17, 2018
·
1 revision
Some notes to get Bunsen browser to compile.
Here are some changes that much be manually changed to get Bunsen to support API 26. These changes can only be made once the android platform has been added.
In bunsenbrowser-build.gradle, increment targetSdkVersion to 26:
android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 26
In the same file, comment out lines in BuildNpmModules:
//inputs.file "${rootProject.buildDir}/nodejs-native-assets-temp-build/nodejs-native-assets-${abi_name}/copy.timestamp"
//outputs.file "${rootProject.buildDir}/nodejs-native-assets-temp-build/nodejs-native-assets-${abi_name}/nodejs-project/"
In the file platforms/android/build.gradle: make sure nodejs plugin is activated:
apply from: "nodejs-mobile-cordova/bunsenbrowser-build.gradle"
also increment
classpath 'com.android.tools.build:gradle:3.2.0'
gradleVersion = '4.6.0'
In case you need to force gradle to re-run some targets:
cd platforms/android
./gradlew assembleDebug --info --rerun-tasks