Exceptionally slow build

126 views
Skip to first unread message

Eddie Long

unread,
Feb 12, 2018, 12:33:31 PM2/12/18
to android-ndk
I'm using Android Studio 3.0.1 and I see the following errors when doing an NDK build, often this happens when I change branch:

AGPBI: {"kind":"warning","text":"Targeted device ABI or comma-delimited ABIs [arm64-v8a,armeabi-v7a,armeabi] is not one of [x86_64]. Nothing to build.","sources":[{},{}]}
AGPBI: {"kind":"warning","text":"Targeted device ABI or comma-delimited ABIs [arm64-v8a,armeabi-v7a,armeabi] is not one of [x86_64]. Nothing to build.","sources":[{},{}]}
AGPBI: {"kind":"warning","text":"Targeted device ABI or comma-delimited ABIs [arm64-v8a,armeabi-v7a,armeabi] is not one of [x86_64]. Nothing to build.","sources":[{},{}]}
AGPBI: {"kind":"warning","text":"Targeted device ABI or comma-delimited ABIs [arm64-v8a,armeabi-v7a,armeabi] is not one of [x86_64]. Nothing to build.","sources":[{},{}]}

I have abiFilters in my gradle but I limit to ameabi-v7a for development purposes, I don't know why this error is being spat out. Gradle seems to just sit there, for maybe 30-40 minutes with no gradle console output and then finally will build my C++ source. If I kill studio and hit build again it takes the same time, am I running into some odd gradle cache problem. 

Any clues what could be happening here? 

Dan Albert

unread,
Feb 12, 2018, 1:19:09 PM2/12/18
to android-ndk
For gradle issues your best bet is to file a bug (follow instructions at b.android.com). This mailing list is only monitored by community folks and the core NDK team, not Studio as a whole, and gradle is not part of the NDK proper.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/5771ca1a-80df-4702-8336-16165597f419%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eddie Long

unread,
Feb 12, 2018, 3:59:48 PM2/12/18
to android-ndk
Ok will do

Alex Cohn

unread,
Feb 15, 2018, 4:36:16 AM2/15/18
to android-ndk
Make sure that your abiFilters are under android.ndk or android.buildTypes.debug.ndk, but not inside externalNativeBuild.

BR,
Alex
Reply all
Reply to author
Forward
0 new messages