Skip to content

Commit

Permalink
fix: crash at startup in release version
Browse files Browse the repository at this point in the history
  • Loading branch information
renard314 committed Feb 13, 2018
1 parent 1143f52 commit 656feca
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
12 changes: 8 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ android {
compileSdkVersion 25
buildToolsVersion '26.0.2'

lintOptions {
disable 'MissingTranslation'
}

dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
Expand All @@ -40,7 +44,7 @@ android {

minSdkVersion 15
targetSdkVersion 23
versionCode 62
versionCode 64
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "android.test.InstrumentationTestRunner"
}
Expand Down Expand Up @@ -156,15 +160,15 @@ dependencies {
testCompile("org.robolectric:robolectric:3.0-rc2") {
exclude group: 'commons-logging', module: 'commons-logging'
}
compile('com.crashlytics.sdk.android:crashlytics:2+') {
compile('com.crashlytics.sdk.android:crashlytics:+') {
transitive = true;
}
compile('com.crashlytics.sdk.android:crashlytics-ndk:1+@aar') {
compile('com.crashlytics.sdk.android:crashlytics-ndk:+@aar') {
transitive = true;
}


}

crashlytics {
enableNdk true
androidNdkOut '/Users/renard/devel/textfairy/tess-two/tess-two/obj'
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.renard.ocr"
android:installLocation="auto"
android:versionName="3.0.10">
android:versionName="3.1.1">


<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/raw-de/release_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
</style>
</head>
<body>
<p class="version_heading">Version 3.1.1</p>
<ul>
<li class="checked">Absturz nach Start der App behoben.</li>
</ul>
<p class="version_heading">Version 3.1.0</p>
<ul>
<li class="checked">PDF Dateien k&ouml;nnen jetzt gescannt werden. (Aber nur die erste Seite)</li>
Expand Down
6 changes: 5 additions & 1 deletion app/src/main/res/raw/release_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@
</style>
</head>
<body>
<p class="version_heading">Version 3.1.1</p>
<ul>
<li class="checked">Fix crash at start up</li>
</ul>
<p class="version_heading">Version 3.1.0</p>
<ul>
<li class="checked">Scan the text from a PDF file. (Only the first page for now)</li>
<li class="checked">Added support or Lao, Khmer and Burmese languages.</li>
<li class="checked">Added support for Lao, Khmer and Burmese languages.</li>
<li class="checked">Bug fixes.</li>
</ul>
<p class="version_heading">Version 3.0.10</p>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'io.fabric.tools:gradle:1.21.5'
classpath 'io.fabric.tools:gradle:1.25.1'
classpath 'com.google.gms:google-services:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
}
Expand Down

0 comments on commit 656feca

Please sign in to comment.