Java error when launching a new 1.0 project on Android

You must Login before you can answer or comment on any questions.

Just downloaded the latest Titanium Developer 1.0 and kitchen sink. (uninstalled / reinstalled titanium because the upgrade didn't work) Kitchen sink runs well.

However when I create a new project, I receive the following output in my debug window:

[INFO] Launching Android emulator...one moment [INFO] Building SetSync0.1 for Android ... one moment [ERROR] C:\Java\jdk1.6.0_18\bin\javac.exe C:\Users\Blair\My Projects\SetSync0.1\build\android\src\com\knowyourcode\setsync\Setsync0.1Activity.java:5: '{' expected [INFO] Installing application on device [INFO] Launching application ... SetSync0.1 [INFO] Deployed SetSync0.1 ... Application should be running.

The file titled Setsync0.1Activity located at: C:\Users\Blair\My Projects\SetSync0.1\build\android\src\com\knowyourcode\setsync

the contents of that file look like this: `package com.knowyourcode.setsync;

import org.appcelerator.titanium.TiRootActivity;

public class Setsync0.1Activity extends TiRootActivity { }`

Although the Titanium debug output would indicate that the app successfully installed on the emulator, it is not.

2 Answers

Blair, this was answered in the other forums, right? You needed to remove the 0.1 and change it to 0_1 in your app id.

i noticed something tonight (searching for a similar issue) when creating the app id, dont use any numbers. i was using a format of com.1company.projectname and it failed each time for android. changed it to com.company.projectname and it worked perfect.

Your Answer

Think you can help? Login to answer this question!