An issue with Android project import occurs

Source: Internet
Author: User

A year ago wrote an android APP, recently re-write, the result of a computer import project tragedy.

1. First Tomcat problem

The JDK Tomcat deployment environment is not mentioned. (If there is no Server tab in Eclipse, help--install new software does not repeat here)

Start Tomcat has an error after importing the item, and the details are not clear:

Server Tomcat v8.0 server at localhost failed to start, open page

The online search of a variety of methods are not corresponding to my solution, and later found that because I drive an agent. Control Panel--internet Options--Connect-LAN settings, remove the proxy server is good.

2. or tomcat?

After startup, normal access can be. But in Eclipse 404, it was found that Tomcat was not set up.

In servers, double-click Tomcat in server locations to select the second (use Tomcat installation ...). ), Deploy Path to WebApps

3.Android Engineering

There is no servlet-related engineering in Tomcat right-click Add and remove

Right-click Servlet Related Engineering--properties--project facets--selected option (This example is the content of the server involved in Android, so only check the Web Java JS, specific items according to the choice of specific options), Since my project was a year old and there were discrepancies in the version, make sure to select the version that corresponds to your project in version. You can compare the org.eclipse.wst.common.project.facet.core.xml in. Settings, like mine:

<installed facet= "java" version= "1.8"/>
<installed facet= "Jst.web" version= "3.1"/>
<installed facet= "Wst.jsdt.web" version= "1.0"/>

So change in the project, the original version is 1.7 2.3 1.0 low so certainly 404

4. troubleshoot Android third-party jar package Noclassdeffounderror under high-version ADT

http://blog.csdn.net/huzgd/article/details/7604069

Under Tomcat, the installation of ADT encountered a variety of pit-dad problems finally took 5 hours to get good (mainly tomcat problem here)

Finally connected to the server connected to the database can start to run the project ...

An issue with Android project import occurs

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.