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 5985053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:28:20+00:00 2026-05-22T22:28:20+00:00

I had download and compiled the source code from GIT, and also successfully runs

  • 0

I had download and compiled the source code from GIT, and also successfully runs the emulator compiled along with the code.

Then I managed to use mmm android/packages/inputmethods/LationIME to complie the LatinIME,
and use adb install -r android/out/target/product/generic/system/app/LatinIME.apk and it installed well.

But this only works with the AVD I compiled myself, when I tried to install the LatinIME.apk copied form android/out/target/product/generic/system/app/ to another emulator or a real phone by the same command: adb install -r LatinIME.apk, I get the message:

165 KB/s (568039 bytes in 3.343s)
pkg: /data/local/tmp/LatinIME.apk
Failure [INSTALL_FAILED_OLDER_SDK]

I’ve Googled a lot and tried what they had say:

  • Add the line <uses-sdk android:MinSdkVersion="3"> in the file `LatinIME/AndroidManifest.xml’

  • Modify the android/build/core/version_defaults.mk, change the line DEFAULT_APP_TARGET_SDK := $(PLATFORM_SDK_VERSION) to DEFAULT_APP_TARGET_SDK := 8

  • I even re-downloaded the source code, the first time I downloaded was the default latest version with API level 10, the second time I download the code of API level 9, both can’t complie an pak that can be installed in other emulators on API level 8 or 9 or 10.

I thought it might because that the SDK I complied is AOSP version so it can’t be installed in
official released SDK? I’m not very clear with the difference.

Anyone having the source code please try mmm android/packages/inputmethods/LationIME and see if the generated apk can be installed in official SDK version?

  • 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-05-22T22:28:20+00:00Added an answer on May 22, 2026 at 10:28 pm

    OK, I’m answering my own question again, I can’t understand why my questions always rarely answered.

    However I searched the whole Internet and can find a answer, but in luck I saw this:

    version_defaults.mk of API Key 7

    I simply replaced the android/build/core/version_defaults.mk in my downloaded code tree and re-compiled the module, and it worked!

    Thought I don’t know if it will work all modules in the source code, but however my IME works good.

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

Sidebar

Related Questions

I have written some code that makes use of an open source library to
i installed m2e 1.0 latest version from here http://download.eclipse.org/technology/m2e/releases i had to remove the
I had been happily coding along on a decent sized solution (just over 13k
I had to delete all the rows from a log table that contained about
Has anyone ever had an incidence of downloading software from a genuine site, where
So I had a thought today. I generate CSV from data already in memory
I'm having problems compiling an open source C++ project on Fedora. When I download
I had some code in a shouldOverrideUrlLoading, that downloads the data, converting if necessary,
In getView method of gallery , i had download the bitmap and set to
I had creating git repository Test on git and installed git on my windows

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.