Create database issue

Hi,

I want to add database to my app, and when I want to use I got this error:

Execution failed for task ‘:ios:moeMainDebugX86Dex2Oat’.

Task failed, you can find the log file here: /Users/platform/rssreader/ios/build/moe/main/dex2oat/debug-x86/Dex2Oat.log

Anyone can help me?

Dear Máté Illés,

could you please attach the log file?

dex2oat I 14901 517980 /Volumes/SSD/gh-moe-master/aosp/art/dex2oat/dex2oat.cc:2220] /Users/platform/.moe/moe-sdk-1.1.0/tools/dex2oat --instruction-set=x86 --base=0x40000000 --compiler-backend=Quick --generate-debug-info --image=/Users/platform/rssreader/ios/build/moe/main/dex2oat/debug-x86/image.art --image-classes=/Users/platform/.moe/moe-sdk-1.1.0/tools/preloaded-classes --oat-file=/Users/platform/rssreader/ios/build/moe/main/dex2oat/debug-x86/application.oat --dex-file=/Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-core.dex:/Users/platform/rssreader/ios/build/moe/main/dex/classes.jar:/Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar
dex2oat I 14901 517980 /Volumes/SSD/gh-moe-master/aosp/art/runtime/parsed_options.cc:449] setting boot class path to /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-core.dex:/Users/platform/rssreader/ios/build/moe/main/dex/classes.jar:/Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar
dex2oat W 14901 517993 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.NativeObject from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517992 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.StructObject from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517991 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.ptr.impl.AbstractPtr from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517993 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.ptr.impl.VoidPtrImpl$ConstVoidPtrImpl from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517994 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.ptr.ConstVoidPtr from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517995 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.ptr.VoidPtr from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517997 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.ptr.impl.VoidPtrImpl from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517992 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.OpaquePtr from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517991 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.CRuntime$1 from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517994 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.ann.FunctionPtr from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517996 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.CRuntime from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517995 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.NativeRuntime from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517993 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.Pointer$Releaser from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517997 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.NatJ$CacheConstructor from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517992 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.map.CCallbackMapper$CCallbackCacheConstructor from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517980 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.map.CCallbackMapper$CallbackInfo from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517991 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.general.Mapper from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517994 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.map.CCallbackMapper from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517996 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.map.CObjectMapper from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar
dex2oat W 14901 517995 /Volumes/SSD/gh-moe-master/aosp/art/compiler/driver/compiler_driver.cc:1860] Skipping class org.moe.natj.c.map.CStringMapper from /Users/platform/.moe/moe-sdk-1.1.0/sdk/moe-ios-retro-dex.jar:classes2.dex previously found in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar


Aborting thread:
“main” prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=0x0 self=0x7f929b00ca00
| sysTid=517980 nice=-1 cgrp=default sched=1/31 handle=0x7fff732db000
| state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7fff57289000-0x7fff57291000 stackSize=8MB
| held mutexes= “abort lock” “mutator lock”(shared held)
(no managed stack frames)
Pending exception java.lang.NoSuchMethodError: No virtual method releasePointer(Z)V in class Lorg/moe/natj/general/ptr/impl/AbstractPtr; or its super classes (declaration of ‘org.moe.natj.general.ptr.impl.AbstractPtr’ appears in /Users/platform/rssreader/ios/build/moe/main/dex/classes.jar)
(Throwable with empty stack trace)Dumping all threads without appropriate locks held: thread list lock
All threads:
DALVIK THREADS (1):
“main” prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=0x0 self=0x7f929b00ca00
| sysTid=517980 nice=-1 cgrp=default sched=1/31 handle=0x7fff732db000
| state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7fff57289000-0x7fff57291000 stackSize=8MB
| held mutexes= “abort lock” “mutator lock”(shared held)
(no managed stack frames)

dex2oat W 14901 517980 /Volumes/SSD/gh-moe-master/aosp/art/runtime/barrier.cc:96] Attempted to destroy barrier with non zero count -1

Dear Máté Illés,

do you have any special settings, like proguardLevel 'all'?

Dear Kristóf,

No, I dont have

Dear Máté Illés,

how did you try to add a database? Can you provide a project where this issue can be reproduced?

Dear Kristóf,

I tried like in tutorial.
Yes I can provide project. If you give me an email address, I can invite you.

https://[email protected]/mateilles718/rssreader.git