SDK Build Error: Gap between image space & main space

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK Build Error: Gap between image space & main space

1,006 Views
micschrag
Contributor IV

Android Lollipop 5.0.1

Kernel Version: 3.10.53

i.MX6 Dual Core

 

Hello,

I have made some changes within the system server, and have built an API for use with a customer's app, but when I try and build the SDK to allow me to test the changed API in Android Studio, it fails and I get the error seen in the title (debug below).

 

Here is my process:

1. Made my service and respective manager.

4. Ran "make update-api"

5. Followed the directions here.

"simply build the SDK using:

$ cd ~/my-android-git

$ . build/envsetup.sh

$ lunch sdk-eng

$ make sdk "

 

I received the following error text: (see attached .txt for full debug)

dex2oatd E 11001 11001 art/runtime/gc/heap.cc:421] 0x56dde768

dex2oatd F 11001 11001 art/runtime/gc/heap.cc:422] There's a gap between the image space and the main space

dex2oatd F 11001 11001 art/runtime/runtime.cc:284] Runtime aborting...

dex2oatd F 11001 11001 art/runtime/runtime.cc:284] (Aborting thread was not attached to runtime!)

 

I have tried several different "fixes" including those found at this link without any success.

 

What do i need to do to get my sdk?

 

Thanks for your help,

Michael

Original Attachment has been moved to: SDK-Build-Issue.txt.zip

0 Kudos
1 Reply

478 Views
micschrag
Contributor IV

I have pulled a fresh version of Android Lollipop 5.0.1 from the AOSP, and the SDK built without issue. I am incorporating our API changes in to this fresh work area to get some sort of workable SDK until this question gets answered and this bug gets fixed.

0 Kudos