R.java错误“;预期”和“ <标识符>”

时间:2018-07-10 18:12:07

标签: r.java-file build-error

在编译项目时,我在@Test public void test() { final String text = "header line 1\n" + "header line 2\n" + "header line 3\n" + "\n" + "line 1\n" + "line 2\n" + "line 3"; MatcherAssert.assertThat( new Mapped<>( txt -> txt.asString(), new Skipped<>( new SplitText( text, "\n" ), 4 ) ), Matchers.contains("line 1", "line 2", "line 3") ); } 中遇到错误。 我试图解决它,但我不能,有人帮助我吗?

R.java:

InputStream input = new URL("your_url_string").openStream();
Bitmap myBitmap = BitmapFactory.decodeStream(input);

http://prntscr.com/k4uydg

http://prntscr.com/k4uygr

我已经在 strings.xml 中查找了错误,但没有发现任何错误。

0 个答案:

没有答案