Android JDBC Database connection error Solution

Source: Internet
Author: User

Today with eclipse suddenly the following error occurred in the console, there is no way to run the program:

[Plain]View Plaincopyprint?
  1. Invalid layout of java.lang.String at value
  2. A fatal error has been detected by the Java Runtime environment:
  3. Internal Error (javaclasses.cpp:129), pid=15238, tid=140306591237888
  4. Fatal Error:invalid layout of preloaded class
  5. JRE VERSION:7.0_07-B10
  6. Java Vm:java HotSpot (TM) 64-bit Server VM (23.3-b01 mixed Mode LINUX-AMD64 compressed OPS)
  7. Failed to write core dump. Core dumps has been disabled. To enable core dumping, try Ulimit-c Unlimited "before starting Java again
  8. An error report file with more information is saved as:
  9. /home/till/workspace/encrypt/hs_err_pid15238.log
  10. If you would as to submit a bug report, please visit:
  11. http://bugreport.sun.com/bugreport/crash.jsp



To search online, the solution is:

right ----Runas---Android application problem solved, but not for an unknown reason.

Note: thanks to DT Prince to provide additional solutions:

      • Project->properties->run/debug Settings;
      • Select the class and select "Edit";
      • Open "Classpath", remove Android Lib from "Bootstrap Entries";
      • The app runs again.

Android JDBC Database connection error Solution

Related Article

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.