【问题标题】:my application is not showing up in the emulator (tried all the solutions on stackoverflow)我的应用程序没有出现在模拟器中(尝试了 stackoverflow 上的所有解决方案)
【发布时间】:2023-10-14 17:03:01
【问题描述】:

我是一个完整的 Android 初学者,正如标题所说,我的应用程序没有出现在模拟器中(尝试了 * 上的所有解决方案)

我所做的故障排除:

1)使用genymotion

2)确保我有`

   <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>`

3)取消选中 ABD 集成

4)SDK 版本相同

5) 之前安装了 HAXM 并确保从 BIOS 中启用了可视化

经过多次编辑,我完成了 Mainfest

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.lenovo.myapplication">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        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>

【问题讨论】:

  • 你收到消息了吗?
  • @JohnJoe 完全没有错误“ 模拟器:设备 fd:1208 HAXM 正在工作并且模拟器在快速 virt 模式下运行 模拟器:侦听端口上的控制台连接:5554 模拟器:此模拟器的序列号(对于ADB): emulator-5554"
  • 你安装了HAXM吗?
  • @JohnJoe 是的,它是在之前安装的,并确保从 BIOS 中启用了可视化

标签: android emulation genymotion android-launcher


【解决方案1】:

尝试独立构建apk,然后将其拖放到genymotion模拟器中。

【讨论】:

  • 谢谢。之前没有注意到,它终于可以工作了
最近更新 更多