[英]Installing app on Android made in eclipse, not showing up in app drawer
我安装它通过Dropbox的,而不是通过自己的手机或模拟器中运行,其调试精细,它安装罚款(我花了一点得到它安装,但安装,但没有给我选择打开)
我签署了所有内容以进行安装。 我在三星Galaxy兆丰了Android 4.2.2运行它。
到目前为止,这就是我所拥有的。 这是非常基本的。 我只是想获得它在我的手机上运行,所以我可以走得更远测试,我去。 任何建议表示欢迎,我非常新的Android的东西,所以请不要笑得太辛苦了!
Android清单
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
</application>
</manifest>
活动主体
<RadioButton
android:id="@+id/vdep"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="121dp"
android:text="Very Depressed" />
<RadioButton
android:id="@+id/moddep"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/vdep"
android:layout_below="@+id/vdep"
android:text="Moderately Depressed" />
<RadioButton
android:id="@+id/milddep"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/moddep"
android:layout_below="@+id/moddep"
android:text="Mildly Depressed" />
<RadioButton
android:id="@+id/stable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/milddep"
android:layout_below="@+id/milddep"
android:text="Stable" />
<RadioButton
android:id="@+id/radioButton5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/stable"
android:layout_below="@+id/stable"
android:text="Mildly Manic" />
<RadioButton
android:id="@+id/radioButton6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/radioButton5"
android:layout_below="@+id/radioButton5"
android:text="Moderately Manic" />
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/radioButton7"
android:layout_alignRight="@+id/vdep"
android:layout_below="@+id/radioButton7"
android:layout_marginTop="32dp"
android:text="View Charts" />
<RadioButton
android:id="@+id/radioButton7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/radioButton6"
android:layout_below="@+id/radioButton6"
android:text="Very Manic" />
</RelativeLayout>
任何和所有建议都欢迎。 我正在Windows 8上运行它,但我也将它安装在Linux,Ubuntu上,如果这样可以使我的生活更轻松,请告诉我。 谢谢很多人。 我总是在这里得到答案,而它们总是很好的答案。 (这就是为什么我来了!)问我任何问题,如果需要,我会尽力迅速回答。
对于TL,博士,我上面的代码,我可以安装在手机上,但它不会打开,并且图标不会在我的手机的应用部分显示,但它显示了在应用程序管理器。 我的手机处于调试模式。
您的清单中也没有任何活动。 您是否从某个地方复制了layout.XML? 尝试将它手动添加到您的项目中,然后复制内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.