I cannot create directories/folders in Android Studio and Flutter, only packages - android-studio

As you can see here, the option to create new directories doesn't exist, i can only add new packages.
What I want to do though is create a folder structure like
>Lib
>>Pages
>>>Startpage
>>>Loginpage
>>Helpers
>>>Networkhelper
>>>>Requesthelper
>>>Storagehelper
etc...
which i can't do with packages as i cannot put packages into empty packages and stuff
this worked before, however now when i created a new project, the same way i always did, it didn't work. any ideas on what i can do/what went wrong?

For some reason, lib directory is marked as source root. Its actually doesn't make difference wether shown as package or folder. Its the same thing. But if you want to change it, unmark it.
in your project tree:
project_name -> lib:
right click
mark directory as
unmark as source root
Screenshot
Hope it help.

Related

Can you remove NetSuite Bundles after installation

I am working on a NetSuite instance that had custom(contractor/SuiteScript) work installed via a bundle, but it is not a third party product but made for this system. Now there are 2 listings in the dropdown for each file. In other words, if I am adding a file as a library, it shows up twice and I don't know which reference is the correct one to choose. I used search to find the duplicate file name is in the bundle install. Can I safely remove or delete the bundle? thanks any help is appreciated.
You cannot typically remove individual files from a bundle. If you do not need the functionality of the bundle anymore than you can remove it at your discretion by going to Customization>SuiteBundler>Search & Install Bundles>List, then under the action icon click 'Uninstall'.
I wouldn't try to delete a script library from a bundle folder. Even if you are uploading an identical library there may be references in the bundle scripts to the original library that will be broken when if you delete it.
If you are wondering which one you are selecting from the drop down one thing you could do is figure out the internal id of your library file then run a search on your script file that pulls in the library file id's and make sure that they match.

How to create new package in an old package in Myeclipse with tree shape structure

I want to create new package in an old package in Eclipse with tress shape structure like this:
Unit6
Session1
Part1
I managed to create it yesterday, but now it don't work, the structure is like this:
Unit6.Session1.Part1
I've tried some method such as change the "Page Presentation" to "Hierarchical", but it did't work.I'm a fresher of this IDE, please help me out.Thank you!
I know what's going on. It just because I create only one package in the old package "Unit6", so MyEclipse present in "Flat" way by default. When I create the second package in the old package "Unit6", MyEclipse present in "Hierarchical" way which I set. I'm so stupid!

Default c++ project which is setup using autoconf

I know this is not a programming question so someone might close this but I am struggling hard in setting up a simple c++11 project using autoconf. I want a src and obj directory for source and object files. I also want a recursive directory structure. Went through many links but facing a hard time on this. What I wana achieve is have a Project directory then a src and obj directory in that Project directory which will have sub directories for each components. Just thought of asking if there exists some default project which I can download and then use it for my purpose. Thanks.
You can't do that with automake. It doesn't let you choose where the object files go.
Instead you can configure and build in a parallel tree. That is what many GNU developers do. This way the sources and objects are separated.

Trying to add mapviewballoons library in project

I am trying to add mapviewballoons library in my project, by right click project > properties > Android > isLibrary but whenever i click on Add button, in Project Selection box i am not getting any option to add library, i have downloaded mapviewballoons library in my downloads folder
Hmm...I did it in few simple steps, If you have Git configured it will be easy just clone Git repository, right click->import project. If mapviewballoons project is not checked as library (checkbox in properties->android is Library) then check it and simply in project in which you want to use balloons properties->android->add library and it will appear in list
I dont have GIT, dont know what it is, nor have time to learn what that is.
Is there no easier way to import this stuff into a library project?
Why is Java always so ... hard!?
I dont want to spend days learning GIT, just to get those balloons!
My project is overtime already.

Renaming a Mac OS X App

I want to rename the app I'm working on. I have changed the Bundle Name to the new name and I've also renamed the whole Xcode project. But for some reason the the .app file has the original name. Is there something I'm missing?
Thank you in advance! :)
Have you checked the Product Name under Packaging in Build Settings for the target?
By default it is set to the target name, but you can set it to what you want.
You may need to manually edit various items in the menus in MainMenu.xib, too.
Try cleaning and rebuilding the project. But also make sure the CFBundleDisplayName isn't set to the old name in Info.plist. You might also try searching your build settings for the name just to make sure.

Resources