Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds "Instant Run" note to Getting Started page #755

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h3>Getting started with Sugar ORM</h3>
<li><a href="#configuration">Configuration</a></li>
<li><a href="#entities">Entities</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#notes">Notes</a></li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -192,7 +193,17 @@ <h1>4. Basic Usage</h1>
{% endhighlight %}
</div>
</section>

<section id="notes">
<div class="page-header">
<h1>5. Notes</h1>
<p class="lead">SugarORM fails to create tables</p>
You might get a similar error like this:
{% highlight %}
android.database.sqlite.SQLiteException: no such table: ... (code 1): , while compiling
{% endhighlight %}
This problem might be caused by Android Studio's Instant Run feature. Disable "Instant Run" in your Android Studio settings (File > Settings > Instant Run) and try again.
</div>
</section>
</div>
</div>
</div>