fix bug in BinaryDictionary.java which lead to crashes with dictionary using on 64bit devices; enable multi-dex and increase heap size also for Release build

This commit is contained in:
Philipp Crocoll
2019-10-04 20:10:58 +02:00
parent 3f6f0b7430
commit a0a494e724
2 changed files with 3 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ public class BinaryDictionary extends Dictionary {
mDicTypeId = dicTypeId;
}
private native int openNative(ByteBuffer bb, int typedLetterMultiplier,
private native long openNative(ByteBuffer bb, int typedLetterMultiplier,
int fullWordMultiplier, int size);

View File

@@ -75,12 +75,13 @@
<Debugger>Xamarin</Debugger>
<AotAssemblies>false</AotAssemblies>
<EnableLLVM>false</EnableLLVM>
<AndroidEnableMultiDex>False</AndroidEnableMultiDex>
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
<EnableProguard>true</EnableProguard>
<DevInstrumentationEnabled>False</DevInstrumentationEnabled>
<DebugSymbols>False</DebugSymbols>
<AndroidTlsProvider>btls</AndroidTlsProvider>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<JavaMaximumHeapSize>2G</JavaMaximumHeapSize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseNoNet|AnyCPU' ">
<DebugType>none</DebugType>