Java Package Does Not Exist Error

前端 未结 7 1277
执笔经年
执笔经年 2020-12-03 04:50

So there\'s a folder /usr/share/stuff in the root directory

in stuff there are a bunch of java files with package org.name definitions at t

7条回答
  •  [愿得一人]
    2020-12-03 05:16

    I was having this problem, while trying to use a theme packaged as .jar in my app, it was working while debugging the app, but it didn't when building/exporting the app.

    I solved it by unzipping the jar, and manually add its contents to my build folder, resulting in this:

    project/
       │
       ├── build 
       │   └── classes
       │       ├── pt
       │       │   └── myAppName ... 
       │       └── com
       │           └── themeName ...
       ├── src
       └── lib
    

    I don't have the error anymore and my app loads with the intended theme.

提交回复
热议问题