Post Reply 
(Free42) nonexistent variable bug DSE/ISG
07-15-2020, 11:36 AM (This post was last modified: 07-21-2020 02:25 PM by Thomas Okken.)
Post: #6
RE: (Free42) nonexistent variable bug DSE/ISG
(07-15-2020 09:14 AM)johanw Wrote:  
(07-15-2020 12:49 AM)Thomas Okken Wrote:  While I am not planning on releasing a new version soon, anyone interested in testing the latest fixes can get the latest source code from GitHub. I could upload test builds to my web site if desired.
I'm trying to build the Android version but I get stuck.

[...]

Start by taking a look at the build-android script -- that is what I use to build the release apk. It performs three steps: 1. create symbolic links in free42/android/app/src/main/cpp pointing to the native source files in free42/common; 2. build the Intel decimal floating-point library by running the build-intel-lib.sh script; 3. build the apk by running gradle.

There are hard-coded assumptions about the build environment in all of these steps. One by one:

1. In Windows, you won't be able to create the symlimks like that. Work-around: just copy the files from common to android/app/src/main/cpp instead. Check the link-files.sh script to see which files to copy; you don't need everything from common.

2. This one will require the most work. First of all, since it's a shell script, you'll need Cygwin. The Windows command prompt can't run this script. Next, the script contains several paths and names that are specific to the OS (MacOS in my case) and the NDK version and where it is installed. If you can't figure this out, contact me via email.

3. Since you want to build the apk with a different app id, you need to change it in two places: in the top-level build.gradle file, which you already did, but also in the AndroidManifest.xml file, in the android:authorities attribute of the provider element.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Free42) nonexistent variable bug DSE/ISG - Thomas Okken - 07-15-2020 11:36 AM



User(s) browsing this thread: 1 Guest(s)