简体   繁体   中英

android eclipse adding folder to project

i have an android project which has a lot of classes I've built. i want to organize it to sub folders and my package in eclipse. when i'm adding a folder and move files over there, what changes should i do in the code so the file which need this classes can reference to it?

is it something in the:

import android.app_name.folder_name.class_name

help will be appreciated, my project is beginning to be a big mass..

if its not possible i will be glad to hear about other solution

Eclipse has a rename/refactor method you can use. The only issue I'm familiar with is the fact that it seems to break the manifest.xml

Yes you can import project into Eclipse...

Then you should create a Package to manage related classes. (FYI, package is ultimately creates folder hierarchy on your drive).

Note: Make sure you provide a correct reference of the particular class in AndroidManifest.xml file.

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