I have created an app for sphero.
The problem is that i started by opening the sphero sample program ButtonDrive and worked with that as a base. Now i want to change the name of the project and the apk.
I have tried right-clicking the project and renaming it that way, and for the main project that works, however when i run the project as an application unto my nexus 7 is just comes up and says:
" Unfortunately, Button Drive has stopped"
So why doesn't this work?
The tablet clearly thinks the project is still called Button Drive but where in the code do i have to change this to make it work?
or is it just not possible to change the name ?
When you right-clicked on the project in the project navigator did you click rename in the main dropdown, or did you click on "Rename Application Package" within the android tools sub-menu? You should be using the later option.
Also verify that the AndroidManifest.xml Label field is correct, or if it is pointing to a value in strings.xml within res/values verify that the application name is correct.
Related
I'm using IntelliJ IDEA EduTools and chose a project from JetBrains Academy. The plugin decided to create the project directory at some arbitrary location. I tried moving it by choosing Refactor -> Move at project root but a message box pops up saying "This move operation can break the course". I tried deleting the project directory and re-open the project from JB Academy, but EduTools seems to remember the decision and created the project directory at the very same location.
So my question is, how do I move the project directory to somewhere else?
Thank you for reporting this.
You can move the project directory anywhere using your File Explorer and import it back to your IDE using Open or Import on the Welcome Screen.
You'll see the project with the previous location marked as unavailable on the left of the Welcome Screen. Please click ⨉ to remove this project.
Is there any way to make an .exe file run on another computer without installation ? .
The app is quite simple without any resources except one picture.
It has one form, one button and on Form_Load it needs to show picture.
Do I need to make an installation for that ?
No, what you need to do is to first add the picture to the project (on the menu system click Project | Add Existing Item . . .) if you haven't done that yet, and then click on the file in Solution Explorer and set its Build Action in the Properties Window to "Resource." This will ensure the picture is written into the exe file when you build the application, and you won't have to worry about copying it along with the application.
Select the "Release" build configuration, and then click Build | Rebuild on the menu system to have your application copied to the Bin\Release folder of your project folder. From here you can copy and run it on any computer that has .NET installed.
I only wanted to see how my app behaves on first launch, so I deleted it from my iPhone(iOS 4.3), now XCode would show "iOS device" as the active scheme, and when I manually select my iPhone from the list, I get an error (scrolling from the top of the screen) saying Could not launch “project1” No such file or directory (/Users/portal/Library/Developer/Xcode/DerivedData/project1-cfjhjgezzcapwoadaivpptyywptu/Build/Products/Debug-iphoneos/project1.app/project
What might have happened?
I CAN install the app on my iPod (iOS 6) though.
Delete your derived data directory for this project, by doing the following steps:
Close the project, but keep Xcode opened. Go to "Organizer" -> Projects. On the left side, select your project and then click the "Delete" button for the derived data.
Once it's gone, open up the project, run a Product -> Clean and try to redeploy.
If the 'delete' button is greyed out, click on the little arrow to the right of the derived directory path (this will open up Finder). Shut down Xcode, and then send that directory to the trash. Restart Xcode, run a Product -> Clean on the project and try to redeploy.
I have created a folder inside my project and i put an icon on it, now i want to use it as my program icon how will i get the link of my icon inside misc folder?
Double-click "My Project".
Open the "Application" tab.
Change "Icon" to "<Browse...>"
Navigate to your icon and select it. Press "Open".
The actual path will be "..\..\Misc\app.ico". But that will not be available when you deploy your application. Your best bet is add it under your project settings so that it will be added as a resource in your application. If you want to do it manualy you will need to make sure the app.ico file is in your application directory and your path adjusted accordingly "app.ico" or if you have an images directory ".\Images\app.ico"
I cannot install my application into device using iphone3.0sdk, xcode give me this message:
no launchable executable present at path
In my group window, the product folder contain the name1.app file, but is outlined with red color, and always remain there. Even thought I have changed my product name to name2 the message always said that the name1.app cannot be found in path, but my current product name is supposed to be name2.app already.
Build on the simulator is fine, the product app file will change based on the product name but not working when install into device.
You have to go in the settings of the builder, change to "Realese", and type the same name as the one of your application.
Get back in debug mode, then clic "build and debug".
It work perfectly ;)