プロジェクトをビルドした後に以下のコマンドでエミュレータを起動させたのですがandroidの画面が真っ暗で何も確認できないような状況です。
原因を調べているのですが解決できずにいます。
もしお分かりになる方いらっしゃいましたらご教示ください。
(ionic serveではブラウザで正常に確認できます。)
ionic cordova build ionic cordova emulate android
環境
windows 10
Intel Core i3
メモリ8G
ionic2
Cordova
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.apache.cordova" android:versionName="1.0" android:versionCode="1"> <uses-sdk android:minSdkVersion="16" /> </manifest>
AVD_for_Nexus_9_by_Google.ini
avd.ini.encoding=UTF-8 path=C:\Users(user name).android\avd\AVD_for_Nexus_9_by_Google.avd path.rel=avd\AVD_for_Nexus_9_by_Google.avd target=android-26
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。