Note that there are some explanatory texts on larger screens.

plurals
  1. POError: No resource found that matches the given name (at 'title' with value '@string/menu_settings')
    primarykey
    data
    text
    <p>I'm doing the exercise "sudoku" from the book "hello to android". I saw some people have the same issue as me but I'm unable to solve it. I have deleted three times this project and re-create from the beginning but I keep getting the same error message on below, even if I'm doing a copy/paste from the book.</p> <pre><code>W/ResourceType( 8592): Bad XML block: header size 29806 or total size 538970658 is larger than data size 0 C:\java\Sudoku\res\layout\activity_main.xml:6: error: Error: No resource found that matches the given name (at 'text' with value '@string/hello_world'). C:\java\Sudoku\res\menu\activity_main.xml:2: error: Error: No resource found that matches the given name (at 'title' with value '@string/menu_settings'). </code></pre> <p>There is the code inside the book for the <code>Sudokuv1/res/layout/main1.xml</code>:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" &gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/main_title" /&gt; &lt;Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/continue_label" /&gt; &lt;Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/new_game_label" /&gt; &lt;Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/about_label" /&gt; &lt;Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/exit_label" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>There is the code for <code>Sudokuv1/res/values/strings.xml</code>:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;resources&gt; &lt;string name="app_name"&gt;Sudoku&lt;/string&gt; &lt;string name="main_title"&gt;Android Sudoku&lt;/string&gt; &lt;string name="continue_label"&gt;Continue&lt;/string&gt; &lt;string name="new_game_label"&gt;New Game&lt;/string&gt; &lt;string name="about_label"&gt;About&lt;/string&gt; &lt;string name="exit_label"&gt;Exit&lt;/string&gt; &lt;/resources&gt; </code></pre> <p>Thank you for your help!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload