Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Starting

在华为手机上手动卸载debug版本的app后再次通过adb安装会报如下错误:

Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.loyal888.blog/.activity.MainActivity }
Error type 3
Error: Activity class {com.loyal888.blog/com.loyal888.blog.activity.MainActivity} does not exist.

Error while Launching activity

解决办法: adb uninstall "包名"

再次adb安装即可成功!

原文地址:https://www.cnblogs.com/loyal888/p/10885391.html

时间: 2024-12-30 15:12:31

Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Starting的相关文章

ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+7CFB to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437,当你执行gem 命令时,提示如上信息解决方案如下。

when you  use  gem install package ,the result:ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+7CFB to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 解决方法: 去本地路径下修改编码,这么提示是因为编码不一致导致的. 修改registry 文件中的编码: 修改后就没有问题了.

cocoapods 安装报错 ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/xcodeproj

cocoapods 安装报错 ERROR:  While executing gem ... (Errno::EPERM)     Operation not permitted - /usr/bin/xcodeproj 执行下面语句安装即可: sudo gem install -n /usr/local/bin cocoapods

SAP R3 安装出错 FJS-00012 Error when executing script.

安装环境:Windows server 2003 中文企业版32位. 数据库:Oracle 9i. Running the command "C:\oracle\ora92/bin/lsnrctl 'start' 'LISTENER'" finished with returncode 3. Output: ERROR 2030-01-16 19:06:56 CJS-00095  Return code 3 of executable C:\oracle\ora92/bin/lsnrc

ERROR: While executing gem ... (Gem::Exception) Unable to require openssl...............................

今天在centOS7上安装ruby3.2.0时,gem install redis 出现ERROR: While executing gem ... (Gem::Exception) Unable to require openssl.................... 试了网上很多的方法还是出现了这个问题. 最后索性删除了本来的ruby,重新安装后就可以了. 正确的安装步骤是先安装开发工具和依赖包 先安装开发工具 1.命令:yum groupinstall "Development too

oracle ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

Mon Jun 11 21:59:52 2018LNS: Standby redo logfile selected for thread 2 sequence 132997 for destination LOG_ARCHIVE_DEST_10Mon Jun 11 21:59:55 2018Archived Log entry 465126 added for thread 2 sequence 132996 ID 0x92570693 dest 1:Mon Jun 11 22:00:00 2

Error while executing topic command : Replication factor: 2 larger than available brokers: 0.

[[email protected] /mnt/software/maxwell-1.19.4]#kafka-topics.sh --zookeeper hdp1,hdp2,hdp3:2181 --create --topic maxwell --partitions 6 --replication-factor 2Error while executing topic command : Replication factor: 2 larger than available brokers:

Mac Error Create Android Project - “Errors running builder 'Android Resource Manager' on project”

http://stackoverflow.com/questions/18096315/mac-error-create-android-project-errors-running-builder-android-resource-man 在mac笔记本上运行android eclipse报标题的错误,然后在stackoverflow上找到了答案 18down votefavorite 5 I spent the whole day just trying to create a simple

安装Pod时提示ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod

环境:OSX EI 10.11.1 昨天切换gem源后,招待pod安装没有任何问题,也可以正常用$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/$ sudo gem install cocoapods 今天再使用的时候,在一个项目下执行pod install时半天死活没反应,无奈就ctrl+c了强制退出了.然后再执行的时候就出现错误: Library/Ruby/Site/2.0.0/rubyge

Jekyll 安装权限问题 ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/jekyll

OS X El Capitan 新特性(System Integrity Protection or SIP)中加强了权限,但是可以对这里进行操作 /usr/local/bin 可以尝试使用以下指令进行jekyll的安装(亲测可行,安装完毕后terminal中输入jekyll即可看到是否生效): sudo gem install -n /usr/local/bin/ jekyll 这条指令告诉gem,把jekyll安装到不受SIP保护的文件夹,而不是安装到默认/Library/Ruby/Gems