简体   繁体   中英

Many compiling errors keeping me from exporting with no answer so far

My -

public class AndroidLauncher extends AndroidApplication implements
        ActionResolver, GameHelperListener {"

says -

Multiple markers at this line
    - The type android.app.Activity cannot be resolved. It is indirectly 
     referenced from required .class files
    - The hierarchy of the type AndroidLauncher is inconsistent

My beginning package says -

Multiple markers at this line
    - The type android.content.Intent cannot be resolved. It is indirectly 
     referenced from required .class files
    - The type android.os.Bundle cannot be resolved. It is indirectly 
     referenced from required .class files

All of these errors are inside my androidlauncher.java. I am using Eclipse. I just fixed all of my compilation errors other than in my games android folder.I have tried everything so far, and cannot find a solution. Keep in mind I am very new to this. Thank you so much.

What do you mean by exporting? Or are you trying to importing an android project? It looks like your build path settings are messed up. This happens sometimes with eclipse. You can try removing and re-adding the JRE to your project.

If that doesn't work, have you installed the ADT (android developer tools) plugin for eclipse? You need that to develop android apps in eclipse.

Alternatively, you could download and use Android studio and try opening the project there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM