English 中文(简体)
申报的一揽子计划“com.example.android.softkey板”与预期的一揽子计划“your.test.com.example.android.softkey板”不一致。
原标题:The declared package "com.example.android.softkeyboard" does not match the expected package "your.test.com.example.android.softkeyboard"

Im recieving the title error on several lines I used a example to create a application I did create a folder for .com.example.. and placed it in the root directory but it did not work I tried editing the Java script manually and it also did not work..

最佳回答

从我能说的话来看,它像你那几类人的顶部一样,用你提到的汇编错误发表了一揽子声明,如:

http://www.ohchr.org。

然而,实际包含这一类内容的一揽子计划如下:

<编码>your.test.com.example.android.softkey板

You need to either change the package declaration line to look like the package directory structure or change the name of the package to look like the package declaration in the code. The latter option would be better because I suspect you ve probably copied code from somewhere into your own package and that s why things aren t compiling. If you start renaming packages, you may cause more compile errors to appear before getting everything fixed. If you re new to Java, this can be very confusing to deal with.

如果你完全不了解一揽子计划是如何运作的,或者如果你愿意阅读,那么这里就是一些很好的资源:

Oracle Java Package Tutorial
Wikipedia Java Package Article

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签