- Initially started out with gradle project https://github.com/sanskrit-coders/subhAShita-pratimAlA and tried to import to scala, but failed.
- Switched to this project from scratch, following tutorials here: https://github.com/scala-android/sbt-android .
- Realized that one cannot import maven based modules (sanskritnlpjava and subhashita-db-sanskrit) in a sbt based project. SO Question.
- Further faced problems with including big sanskritnlpjava jar or including it via a maven dependency:
- sbt heap size when (when running from intellij).
- Proguard exceptions such as: (android:proguard) java.io.IOException
- Switched back to https://github.com/sanskrit-coders/subhAShita-pratimAlA .
- Link /home/vvasuki/.android/sbt/sdk to android sdk folder.
- Just use the Build menu in Intellij to generate signed apk. If it fails, do packageRelease
- You may need to drop the
app/
below.- app/android:run
- app/android:packageRelease
- This uses credentials to keystore in local.properties, if available.
- APK will go in target/android/output/