Project has no default. properties file! Edit the project properties to set one. Solution to the error

Source: Internet
Author: User

This is because the import project does not have the default. properties file, which records the environment information required by the project, such as the Android version. General default. properties FileCodeAs shown below, the comments in the Code have clearly explained default. properties. If a project does not have the default. properties file, we can directly copy it from other projects for use. "Target = Android-8" indicates development on the Android 2.2 platform.

 

# This file is automatically generated by Android tools. <br/> # do not modify this file -- your changes will be erased! <Br/> # This file must be checked in version control systems. <br/> # to customize properties used by the ant build system use, <br/> # "build. properties ", and override values to adapt the script to your <br/> # project structure. <br/> # project target. <br/> Target = Android-8

Note:

If default is added to ecplise. properties, the project may still have an error. We need to re-import this project. This ecplise will automatically generate a Gen folder for the project and add the library folder "Android 2.2.

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.