无法在Android项目中使用Eclipse的剪贴簿 [英] Unable to use Eclipse's Scrapbook inside an Android project
问题描述
当我在普通的Eclipse Java项目中创建一个Scrapbook时,这是可以的,但是当我在Android项目中创建一个Scrapbook时,并输入一个简单的代码,例如
It is okay when I create a Scrapbook inside a normal Eclipse Java project, but when I create a Scrapbook inside an Android project, and enter a simple code like
System.out.println("foo");
它说"无法启动Scrapbook VM "
由于此方法不涉及任何Android库,因此为何不起作用?
As this method does not involve any Android library, why this does not work?
推荐答案
我今天遇到了这个问题,我担心无法将剪贴簿运行到Android项目中,因为我找不到解决方案任何地方(我一直在找它一个小时).
I ran into this problem today and i'm afraid that there is no way to run a scrapbook into an Android project, since i can't find a solution anywhere (and i've been looking for it for some hour).
我什至尝试更改剪贴簿的运行时JRE(右键单击剪贴簿文件->属性->剪贴簿运行时->运行时JRE"),因为默认JRE报告"Project JRE(undefined)".什么都没改变.
I even tried to change the Runtime JRE for the scrapbook (right-click on scrapbook file -> properties -> Scrapbook Runtime -> "Runtime JRE") since default JRE reports "Project JRE(undefined)". Nothing changed.
我写这封信是因为我希望节省其他人的时间.
I'm writing this because i hope to save time to some other person.
这篇关于无法在Android项目中使用Eclipse的剪贴簿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!