SDKLauncher-Android icon indicating copy to clipboard operation
SDKLauncher-Android copied to clipboard

Android / Gradle updates (current working build)

Open danielweck opened this issue 7 years ago • 3 comments

Upgraded API 26 to 28, build tools to 28.0.3, Gradle 5.4.1. NDK is version 16.1.4479499.

Pre-requisites (must read comments, notably the "Build output" section): https://github.com/readium/readium-sdk/pull/317 https://github.com/readium/readium-lcp-client/pull/49

platform/android/local.properties

(not checked into Git, must be created by developers)

sdk.dir=/PATH_TO/Android/sdk
ndk.dir=/PATH_TO/Android/sdk/ndk-bundle-old
readium.ndk_clang=false
readium.ndk_skipX86=false
readium.ndk_skipARM=false
readium.ndk_experimental=false

readium.sdk_lib_dir=/PATH_TO/SDKLauncher-Android/readium-sdk/Platform/Android/epub3/libs/
readium.sdk_include_dir=/PATH_TO/SDKLauncher-Android/readium-sdk/Platform/Android/epub3/include/

readium.sign_key_password=app/ReadiumAndroidAPKSign.jks
readium.sign_store_password=app/ReadiumAndroidAPKSign.jks

danielweck avatar Nov 19 '18 15:11 danielweck

Question moved here: https://github.com/readium/SDKLauncher-Android/issues/148


We have implemented readium.js in our own application in 2016.

Now, on Android 8.0 if the epub file has more than 100 xhtml files (chapters), app freezes (not crashes, but freezes). It looks like the webview or the app hasn’t еnough memory. (I am testing on Samsung s8 which has memory).

On previous version on android everything is ok (4.4,5.0,5.1,6.0 etc.)

Do you have any idea about the problem?

vsbojkovski avatar Dec 03 '18 07:12 vsbojkovski

Hello @vsbojkovski could you please post an issue here: https://github.com/readium/SDKLauncher-Android/issues/new Thank you!

danielweck avatar Dec 05 '18 15:12 danielweck

TODO: the references to the bintray repository should probably be updated in order to reflect the latest available versions, for example:

https://bintray.com/android/android-tools/com.android.tools.build.gradle/view (2.3.3)

vs.

https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google (3.x)

...and:

https://bintray.com/android/android-tools/com.android.tools.build.gradle-experimental/view (0.9.3)

vs.

https://mvnrepository.com/artifact/com.android.tools.build/gradle-experimental?repo=google (0.11)

Also see: https://developer.android.com/studio/releases/gradle-plugin

danielweck avatar Jun 12 '19 14:06 danielweck