モバイル デバッグ モードを使用する必要がありますが、毎回デバッグ モードを実行します。フレックスが私の電話にアプリをインストールすると、私の電話は「アプリケーションが停止しました」と表示されます。メッセージ。フレックスがデバッグモードから飛び出し、インストールされたアプリを開くことさえできません。アプリケーションには、データサービスがアタッチされていないか、基本的なものを期待する UI オブジェクトがありません。何らかの理由??
私のコードはとてもシンプルです
<?xml version="1.0" encoding="utf-8"?>
<s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" applicationDPI="160">
<s:ViewNavigator label="Bidding" width="100%" height="100%" firstView="views.BiddingView"/>
<s:ViewNavigator label="Reuse" width="100%" height="100%" firstView="views.ReuseView"/>
<s:ViewNavigator label="Account" width="100%" height="100%" firstView="views.AccountView"/>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:TabbedViewNavigatorApplication>
ちょうどこのような。
ビューのコードは、3 つすべてこのようなものです。
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="Account">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:View>
Flex 4.6 を使用しており、このアプリは Android 向けに開発されています。