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

  • Home
  • SEARCH
  • 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 7928915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:53:37+00:00 2026-06-03T19:53:37+00:00

I am writing an Android app that will communicate with the PC. I tried

  • 0

I am writing an Android app that will communicate with the PC. I tried to create 2 packages in a single eclipse project, but this doesn’t seem to work. When i try to debug the PC java application, it crashes with “Cannot connect to VM”. I searched for this, and found suggestions to turn of the Windows Firewall and reboot. This did not work. The crash report
states:

# Internal Error (classFileParser.cpp:3494), pid=4408, tid=4776
# Error: ShouldNotReachHere()

Maybe there is a best practice that I am missing? Should these two similar code units (they share some common classes) be in separate projects, or am I taking a good approach, and just running into some configuration problem?

  • 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-06-03T19:53:39+00:00Added an answer on June 3, 2026 at 7:53 pm

    If you really want to have both projects in one eclipse project, you have to do the following:

    1. create a run confguration for your PC project (Run -> Run configurations -> add)
    2. set the JRE to any JavaSE (1.7 for example) (tab JRE)
    3. remove Androidx.x library vom Bootstrap Entries (tab Classpath)

    now you should be able to run your pc project.

    — edit:

    regarding your question about best practice. I think you probably should have to separate projects unless your PC project is really small (like only one class)

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

Sidebar

Related Questions

This might be a really rookie question, but I'm writing an Android app that
I'm writing an android app that will connect to a REST/JSON webservice. Users will
I am writing an app for Android that will measure speed as the Android
I am writing a android app that will pull in a list of all
I am writing a simple Android app and have a database that will send
I'm writing an Android app that needs to access GMail, and I'd like to
So I'm writing an android app that needs to grab book price data from
I'm currently writing an app in Android that works with the GPS. At the
I'm writing my first android app (I'm a noob at android, but decent at
I'm writing an Android app that contains a contact list. The design required me

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.