Android Studio-模拟器可以运行,但应用程序不存在

时间:2019-01-14 13:53:08

标签: android-studio android-emulator

我在android studio中做了一些项目,从昨天开始,我所做的所有新项目都无法运行。我不知道为什么,模拟器运行良好,但我在任何地方都找不到我的应用程序。

以下是图片:

image

并显示:“正在等待目标设备”。 没有任何错误。

AndroidManifest.xml

<body itemscope itemtype= (followed by Schema type)>

没有任何代码的空白应用程序无法运行,那么可能是什么问题?我没有更改任何设置,所以我不知道会是什么。

build.gradle

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.lux.escanor.myapplication">
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

0 个答案:

没有答案