2013-04-28 77 views
-1

上运行这是mainfest文件:我已经开发了一个应用程序,它不是我的电话

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="yash.pers.onlinepost" 
    android:versionCode="1" 
    android:versionName="1.0" > 

    <uses-sdk 
     android:minSdkVersion="8" 
     android:targetSdkVersion="9" /> 
    <uses-permission android:name="android.permission.INTERNET"/> 

    <application 
     android:allowBackup="true" 
     android:icon="@drawable/ic_launcher" 
     android:label="@string/app_name" 
     android:theme="@style/AppTheme" > 
     <activity 
      android:name="yash.pers.onlinepost.MainActivity" 
      android:label="@string/app_name" > 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 

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

</manifest> 

我使用的是三星Galaxy Y(姜饼),当我安装APK它说没有安装应用。请帮我解决这个问题。这是我为Android开发的第一个应用程序。

+0

你可以提供一些关于你的错误信息的更多信息吗?它在哪里说“应用程序未安装”? – DuKes0mE 2013-04-28 18:59:15

+0

我从Gmail下载了该文件并安装了它,因此它在过程 – Yash 2013-04-28 19:04:34

+1

后面显示“应用程序未安装”,我必须签署我的应用程序才能从apk安装它。如果你使用Eclipse,很容易签名,它在android工具下。 – dutt 2013-04-28 19:23:04

回答

1

正如评论中所说,你的手机必须允许未知来源。在谷歌搜索android allow unknown sources,你会看到很多线索解释这一点。


尝试卸载以前安装相同应用程序的版本。签名可能会有所不同..


最后,是@dutt是正确的,你必须应用程序签名能在设备安装它。

+0

是的,我已经检查了“允许未知来源”选项。 问题是我没有在应用程序上签名。非常感谢,现在正在运行:) – Yash 2013-04-29 09:51:58

相关问题