title: RuntimeException: Font asset not found optimale_bold.ttf
body: <p>Here is the error line:</p>
  
  <pre><code>Typeface typeface = Typeface.createFromAsset(getAssets(), "optimale_bold.tff");
  </code></pre>
  
  <p>Here is the error log cat:</p>
  
  <pre><code>Caused by: java.lang.RuntimeException: Font asset not found optimale_bold.tff
  at android.graphics.Typeface.createFromAsset(Typeface.java:192)
  at com.leontheprofessional.test.whorepresentsyou.activity.MainActivity.onCreate(MainActivity.java:100)
  at android.app.Activity.performCreate(Activity.java:6020)
  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2284)
  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2393) 
  at android.app.ActivityThread.access$800(ActivityThread.java:151) 
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309) 
  at android.os.Handler.dispatchMessage(Handler.java:102) 
  at android.os.Looper.loop(Looper.java:135) 
  at android.app.ActivityThread.main(ActivityThread.java:5351) 
  at java.lang.reflect.Method.invoke(Native Method) 
  at java.lang.reflect.Method.invoke(Method.java:372) 
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908) 
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703) 
  </code></pre>
  
  <p>Here is the structure of assets folder:<br/>
  in <code>main</code> directory: <br/></p>
  
  <pre><code>|-assets
  |--optimale_bold.ttf
  |-java
  |-res
  AndrodMainifest.xml
  </code></pre>
  
  <p>in <code>Android</code> view of AndroidStudio:<br/></p>
  
  <pre><code>|-app
  |--manifest
  |--java
  |--res
  |--assets
  |---optimale_bold.tff
  </code></pre>
  
  <p>I carefully checked the <code>app.iml</code> file, such a line is included:</p>
  
  <pre><code>&lt;option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" /&gt;
  </code></pre>
  
  <p>What might be wrong?</p>
  
  <p>PS:
  I checked this <a href="https://stackoverflow.com/questions/26986932/font-asset-not-found-helvetica-ttf-on-lollipop">post</a>, and tried every solution. But none works. This is not a duplicate post. Please help solve the problem.
  <br/><br/>
  To those who might need:</p>
  
  <pre><code>compileSdkVersion 23
  buildToolsVersion "23.0.1"
  
  defaultConfig {
      applicationId "blahblah"
      minSdkVersion 11
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
  }
  </code></pre>