I have imported android project and i see ‘SparkCOre’ and ‘FOntify’. THere are no issues with Fontify but with ‘SparkCore’ build is failing. The error is shown at following 2 lines in smartconfigservice.java,
Have you got the SmartConfig kib from TI and the required fonts, as the repo docs do state?
Required Fonts
The Spark app distributed via Google Play uses several typefaces in the Gotham family. If you have a license to these, you can place the following 4 files in SparkCore/assets/fonts.
gotham_bold.otf
gotham_book.otf
gotham_light.otf
gotham_medium.otf
Otherwise, in order to build a working app, you will need to either modify the app not to look for the fonts or put some other fonts in their place.
Required TI SmartConfig Library
You must add smartconfiglib.jar to the SparkCore/libs directory.
To get the SmartConfig library, go to the CC3000 Wi-Fi Downloads page. Search the page for the Android SmartConfig Application. Download and unpack the app, which will require Windows. :-/ You can find smartconfiglib.jar in the libs directory of TI's app.
As mentioned in another post, for smartconfiglib.jar you don’t actually have to install it. Just rename the EXE into ZIP and then you can extract the file without installation.
would suggest, that something seems wrong with the fonts.
If you are using different fonts you’ll have to search the whole project for any occurance of the original font names, because the original code has some hardcoded references scattered around.
In my ExtTinkerApp I’ve cleaned this up a bit but the pull request never made it into the main branch. But if you are interested have a look here.
I downloaded the Tinker App master from GIT.
I have JRE,JDK and gradle installed and working but i seem to get this error while trying to build the app
Error:Could not find com.android.tools.build:gradle:2.11.
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.11/gradle-2.11.pom
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.11/gradle-2.11.jar
https://jcenter.bintray.com/com/android/tools/build/gradle/2.11/gradle-2.11.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/2.11/gradle-2.11.jar
Required by:
:photon-tinker-android-master:unspecified
I have tried using a local folder for Gradle but it seems to have no effct.
What am i missong out?