存在しないパッケージを指定してJavaFX Scriptを作成すると、以下のようなメッセージが出てしまいます。
- Resource '/~' does not exist.
(原文)NOTE that this version of the JavaFX plugin for Eclipse is currently supported using JavaFX 1.2.1 SDK only. You MUST download JavaFX 1.2.1 SDK first and complete the installation by following the JavaFX SDK installation instructions. The JavaFX SDK provides the command-line tools and technologies to develop expressive content for applications deployed to browsers, desktops, and mobile devices.
(訳)Eclipse向けJavaFXプラグインのこのバージョンはJavaFX 1.2.1 SDKを使用するもののみサポートされています。まずJavaFX 1.2.1 SDKをダウンロードし、JavaFX SDKのインストール手順に従ってインストールを済ませておく必要があります。JavaFX SDKは、ブラウザ、デスクトップ、モバイル端末に向けた表現力のあるコンテンツの開発をするためのコマンドラインツールとテクノロジを提供します。
(原文)Ensure that you have downloaded and installed the Eclipse IDE for Java EE Developers. The Eclipse 3.5 Galileo is the current version.
(訳)Eclipse IDE for Java EE Developersをダウンロードし、インストールしていることを確認してください。Eclipse 3.5 Galileoが現在の最新バージョンです。
[2010-05-07 23:55:23 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Android_1_6_Device'
[2010-05-07 23:55:23 - HelloWorld] Launching a new emulator with Virtual Device 'Android_1_6_Device'
[2010-05-07 23:55:44 - HelloWorld] New emulator found: emulator-5554
[2010-05-07 23:55:44 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...
[2010-05-07 23:56:15 - HelloWorld] emulator-5554 disconnected! Cancelling 'com.blogspot.ksoichiro.HelloWorldActivity activity launch'!
[2010-05-08 00:23:01 - HelloWorld] ------------------------------
[2010-05-08 00:23:01 - HelloWorld] Android Launch!
[2010-05-08 00:23:01 - HelloWorld] adb is running normally.
[2010-05-08 00:23:01 - HelloWorld] Performing com.blogspot.ksoichiro.HelloWorldActivity activity launch
[2010-05-08 00:23:01 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Android_1_6_Device'
[2010-05-08 00:23:01 - HelloWorld] Launching a new emulator with Virtual Device 'Android_1_6_Device'
[2010-05-08 00:23:10 - HelloWorld] New emulator found: emulator-5554
[2010-05-08 00:23:10 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...
[2010-05-08 00:24:12 - HelloWorld] WARNING: Application does not specify an API level requirement!
[2010-05-08 00:24:12 - HelloWorld] Device API version is 4 (Android 1.6)
[2010-05-08 00:24:12 - HelloWorld] HOME is up on device 'emulator-5554'
[2010-05-08 00:24:12 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2010-05-08 00:24:12 - HelloWorld] Installing HelloWorld.apk...
[2010-05-08 00:24:49 - HelloWorld] Success!
[2010-05-08 00:24:49 - HelloWorld] Starting activity com.blogspot.ksoichiro.HelloWorldActivity on device
[2010-05-08 00:25:17 - HelloWorld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.blogspot.ksoichiro/.HelloWorldActivity }
起動はしたものの、警告が出ています。また別の問題がありそうです。
If you are just starting to develop applications for Android, please download the current Android SDK. With the current Android SDK, you can add any current and previous version of the Android platform as a component and use it for development and testing.
If you already have an Android SDK for platform version 1.6 or newer, then you do not need to install a new SDK especially not one from this page. You should install older platforms as components of your existing SDK. See Adding SDK Components.
public static void main(String[] args) { }