The build Path-add to build Path in eclipse corresponds to Androidstud

Source: Internet
Author: User

There are times when you don't need to add Lib libraries to compile, for example, when using Xposed's jar package, just build path-add to build Path in Eclipse, and if you add it as a Lib library, there will be an exception.

The following is the original text of the quote:

--------------------------------------

Next, make the Xposedbridge API known to the project. You can downloadXposedbridgeapi-<version>.jar From the first post of This XDA thread. Copy it into a subfolder called Lib. Then right-click on it and select build Path = = Add to build path. the <version> From the file name is the one and you insert asXposedminversion In the manifest.

Make sure that the API classes is not included (but only referenced) in your compiled APK, otherwise you'll get an Ille Galaccesserror. Files in Thelibs (with "s") folder is automatically included by Eclipse, so don ' t put the API file there.

--------------------------------------

The corresponding setting method in Androidstudio is:

F4 Open the project structure, select modules-Current Project-dependencies-+-select "Jar or directiories",

after selecting the Jar package, select "provided" in the "Scope" column and do not select "Complie".

The build Path-add to build Path in eclipse corresponds to Androidstud

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.