Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8150269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:01:13+00:00 2026-06-06T15:01:13+00:00

I currently build my Android native libraries for several targets but as a build

  • 0

I currently build my Android native libraries for several targets but as a build speed improvement I would like to build a subset based on the optimization setting. I tried something like this in the Application.mk but it’s not working:

APP_MODULES := a b c
ifeq ($(APP_OPTIM),debug)
        APP_ABI := armeabi x86
else
ifeq ($(APP_OPTIM),release)
   APP_ABI  := armeabi-v7a
endif
endif
APP_STL := gnustl_static

It the APP_OPTIM even set in this file? Or do I need to use an other variable like ‘APP_DEBUG’ or isn’t this possible at all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:01:14+00:00Added an answer on June 6, 2026 at 3:01 pm

    It seems that you can use the ‘APP_DEBUG’ boolean in your ‘Application.mk’ like this:

    ifeq ($(APP_DEBUG),true)
    APP_ABI := armeabi
    else
    ifeq ($(APP_DEBUG),false)
    APP_ABI := x86 armeabi-v7a
    else
    # for cleaning all
    APP_ABI := x86 armeabi-v7a armeabi
    endif
    endif
    

    Hopefully I can help someone with this info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several android devices I would like to test on. Currently, when I
I want to build a ring topology using android emulators. Currently my application has
We currently build our Android (Java) projects using the built-in Eclipse build tools. Then
I'm planning to build an Android App. based on Augmented Reality . I googled
I'm currently deciding what way to build my Iphone/Android app. I just need to
I'm currently trying to build an authentication application in Android which stores users' username
Whats the best way to deploy several customized versions of a Android application? Currently
I build a website for phones like android and iphone,when users are visiting my
Currently I'm working on Text to speech in android and I'm trying to build
I'm currently trying to build a proper Makefile. What I want is full control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.