`
MagicMa_007
  • 浏览: 26759 次
  • 性别: Icon_minigender_1
  • 来自: 郑州
社区版块
存档分类
最新评论

编译运行安卓程序时The launch will only sync the application package on the device

阅读更多

编译运行安卓程序时

eclipse里console里提示The launch will only sync the application package on the device

 

经查找是AndroidManifest.xml里的主activity里红色部分没加,,

<activity
            android:label="@string/XXX"
            android:name=".XXX">
            <intent-filter> 
                <action android:name="android.intent.action.MAIN" /> 
                <category android:name="android.intent.category.LAUNCHER" /> 
            </intent-filter> 

        </activity>

分享到:
评论

相关推荐

    种常见的Android开发错误及解决方.pdf

    The launch will only sync the application package on the device! 这个错误是由于没有指定启动 Activity。解决方法是修改 AndroidManifest.xml 文件,添加启动 Activity。 七、没有写入 SD 卡权限 这个错误是...

    The LAUNCH golo4 & App.docx

    LAUNCH公司的golo4营销活动是一项旨在推广其创新汽车智能硬件和相关应用程序的重要举措。此次活动赠送给用户15000个golo4适配器,该设备在市场上的零售价为499元人民币。这个小巧的设备集成了GPS、Wi-Fi和SIM卡功能...

    android 开发入门

    - 当出现“the launch will only sync the application package on the device”的错误时,这通常是因为没有正确地启动应用。解决方法是检查运行配置,确保选择了正确的运行目标。 - NDK编译错误,比如“APP_...

    Launch4j 教程——JAR应用程序生成exe

    ### Launch4j 教程——JAR应用程序生成exe #### 一、介绍 Launch4j 是一款用于将 Java 应用程序(JAR 文件)封装为 Windows 本地可执行文件 (.exe) 的工具。它提供了丰富的功能,如本地弹出屏幕、应用程序图标定制...

    android sdk 自带 实例(samples)

    The sample uses two related parts of the Android framework — the account manager and the synchronization manager (through a sync adapter). Searchable Dictionary A sample application that ...

    金卡制作工具GoldCardTool

    Connect Android device to USB (USB Debugging must be enabled on the device) Click 'Get CID' (If MMC1 fails try MMC0) Click the link to open revskills.de, enter the CID number from Goldcard Tool and ...

    Android Application Development

    Based on the Linux operating system and developed by Google and the Open Handset Alliance, Android has the potential to unite a fragmented mobile market. 'Android Application Development' introduces ...

    BURNINTEST--硬件检测工具

    system/ device driver that prevents control being returned to the BurnInTest for that test. This was added for specialized serial port hardware that could lockup after several hours of testing. ...

    CS193P IOS APPLICATION DEVELOPMENT Assignment 1 Walkthrough.pdf

    5. **Building a Calculator Application:** The final goal is to build a calculator application, which will serve as a practical example of applying the concepts learned in the previous steps. ...

    This application requires Visual Studio 2013 Redistributable.

    MySql5.7.20安装过程中报错 This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again. 的解决办法.报错如下: 1: Action 10:59:21: ...

    利用开源软件Launch4j把java 桌面应用程序打包成exe

    5. **配置文件**:如果应用依赖于配置文件,你可以在Launch4j中指定它们的位置,以便在运行时自动加载。 6. **错误处理**:Launch4j可以捕获并显示Java异常,避免因程序崩溃而让用户体验下降。 7. **图标**:为你...

    launch4j java打包程序又一推荐

    本程序是另外一个对java application进行打包成exe的程序,改程序可以吧jre内嵌到程序里面,不需要安装jdk就可以运行。包中有两个版本,一个是的windows,一个是linux,可以选择不同的方式来安装使用,比较方便。

    launch4j打包程序

    "launch4j打包程序"是一种在Java开发领域中广泛使用的工具,它允许开发者将Java应用程序(通常以.jar格式存在)转换为Windows平台上的可执行文件(.exe)。这个过程被称为“封装”或“打包”,目的是为了让非Java...

    NeoStart-android_launch_application.rar

    NeoStart-android_launch_application

    QT demos[on win]

    These demonstrations are intended to highlight Qt's capabilities in different ...in the Qt package. This example is built at the same time as the Qt libraries, tools, examples, and demonstrations.

    2009-5出版的《Programming with the Google SDK》

    Get a complete introduction to the Android programming environment, architecture, and tools Build a modular application, beginning with a core module that serves to launch modules added in subsequent ...

    DIAL-Android编译运行过代码

    【标题】"DIAL-Android编译运行过代码"涉及的是在Android平台上使用DIAL(Discovery and Launch of Internet Applications)协议开发和编译代码的过程。DIAL是一种协议,主要用于智能电视和其他连接到网络的设备上...

Global site tag (gtag.js) - Google Analytics