<p dir="auto">Pulling bug from original location in the google issue tracker: <a href="https://issuetracker.google.com/issues/72938960" rel="nofollow">https://issuetracker.google.com/issues/72938960</a></p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">When creating a new Flutter project in the opening screen of Android Studio, for example <code class="notranslate">my_flutter_app</code>, the following identifiers are generated (see attached image <code class="notranslate">android_studio_flutter_project.jpg</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PRODUCT_BUNDLE_IDENTIFIER = com.mycompany.my_flutter_app.myFlutterApp; (ios/Runner.xcodeproj/project.pbxproj)
package com.mycompany.myflutterapp.myflutterapp; (MainActivity.java)
applicationId &quot;com.mycompany.myflutterapp.myflutterapp&quot; (app/build.gradle)
package=&quot;com.mycompany.myflutterapp.myflutterapp&quot;&gt; (AndroidManifest.xml)"><pre class="notranslate"><code class="notranslate">PRODUCT_BUNDLE_IDENTIFIER = com.mycompany.my_flutter_app.myFlutterApp; (ios/Runner.xcodeproj/project.pbxproj)
package com.mycompany.myflutterapp.myflutterapp; (MainActivity.java)
applicationId "com.mycompany.myflutterapp.myflutterapp" (app/build.gradle)
package="com.mycompany.myflutterapp.myflutterapp"&gt; (AndroidManifest.xml)
</code></pre></div>
<p dir="auto">In IntelliJ IDEA CE, however (see attached image <code class="notranslate">intellij_idea_ce_flutter_project.jpg</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PRODUCT_BUNDLE_IDENTIFIER = com.mycompany.myFlutterApp; (ios/Runner.xcodeproj/project.pbxproj)
package com.mycompany.myflutterapp; (MainActivity.java)
applicationId &quot;com.mycompany.myflutterapp&quot; (app/build.gradle)
package=&quot;com.mycompany.myflutterapp&quot;&gt; (AndroidManifest.xml)"><pre class="notranslate"><code class="notranslate">PRODUCT_BUNDLE_IDENTIFIER = com.mycompany.myFlutterApp; (ios/Runner.xcodeproj/project.pbxproj)
package com.mycompany.myflutterapp; (MainActivity.java)
applicationId "com.mycompany.myflutterapp" (app/build.gradle)
package="com.mycompany.myflutterapp"&gt; (AndroidManifest.xml)
</code></pre></div>
<p dir="auto">Also, <code class="notranslate">flutter create --org com.mycompany</code> works correctly.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Build: 3.0.1, AI-171.4443003, 201711091821, "><pre class="notranslate"><code class="notranslate">Build: 3.0.1, AI-171.4443003, 201711091821, 
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="AI-171.4443003, JRE 1.8.0_152-release-915-b08x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.3 unknown, screens 1920x1080, 1920x1080, 1440x900; Retina "><pre class="notranslate"><code class="notranslate">AI-171.4443003, JRE 1.8.0_152-release-915-b08x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.3 unknown, screens 1920x1080, 1920x1080, 1440x900; Retina 
</code></pre></div>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dnfield/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dnfield">@dnfield</a>, am having another issue with building apk release, but this time coming from fluttertoast,<br>
this is the result..Execution failed for task ':app:lintVitalRelease'.</p>
<p dir="auto">Could not resolve all artifacts for configuration ':app:dynamicProfileRuntimeClasspath'.<br>
Could not resolve project :fluttertoast.<br>
Required by:<br>
project :app</p>
<blockquote>
<p dir="auto">java.lang.NullPointerException (no error message),<br>
most interesting thing is the app does run fully in emulator</p>
</blockquote>