<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Andi Rustianto</title>
    <description>The latest articles on DEV Community by Andi Rustianto (@anditorx).</description>
    <link>https://dev.to/anditorx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F831129%2Ff8abdc14-32d5-4baa-a3b5-0a2294b4369d.jpeg</url>
      <title>DEV Community: Andi Rustianto</title>
      <link>https://dev.to/anditorx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anditorx"/>
    <language>en</language>
    <item>
      <title>React Native Error: Task :app:mergeDexDebug FAILED</title>
      <dc:creator>Andi Rustianto</dc:creator>
      <pubDate>Thu, 23 Jun 2022 04:46:17 +0000</pubDate>
      <link>https://dev.to/anditorx/react-native-error-task-appmergedexdebug-failed-26m</link>
      <guid>https://dev.to/anditorx/react-native-error-task-appmergedexdebug-failed-26m</guid>
      <description>&lt;h2&gt;
  
  
  React Native Error: Task :app:mergeDexDebug FAILED
&lt;/h2&gt;

&lt;p&gt;Android 5.0 (API level 21) and higher uses ART which supports multidexing. Therefore, if your minSdkVersion is 21 or higher, the multidex support library is not needed.&lt;/p&gt;

&lt;p&gt;Modify build gradle at path android/app/build.gradle&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;android {
    compileSdkVersion 22
    buildToolsVersion "23.0.0"

         defaultConfig {
             minSdkVersion 14 //lower than 14 doesn't support multidex
             targetSdkVersion 22

             // Enabling multidex support.
             multiDexEnabled true
         }
}

dependencies {
    implementation 'com.android.support:multidex:1.0.3'
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>reactnative</category>
      <category>bugfix</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to fix Error Cocoapods pod install in mac m1</title>
      <dc:creator>Andi Rustianto</dc:creator>
      <pubDate>Thu, 23 Jun 2022 04:42:32 +0000</pubDate>
      <link>https://dev.to/anditorx/how-to-fix-error-cocoapods-pod-install-in-mac-m1-30e</link>
      <guid>https://dev.to/anditorx/how-to-fix-error-cocoapods-pod-install-in-mac-m1-30e</guid>
      <description>&lt;p&gt;If you got error while trying pod install. Try this way!&lt;/p&gt;

&lt;p&gt;Try this command in terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo arch -x86_64 gem install ffi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;arch -x86_64 pod install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;arch -x86_64 pod install --repo-update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>cocoapods</category>
      <category>reactnative</category>
      <category>m1</category>
      <category>errors</category>
    </item>
    <item>
      <title>How to fix EsLint Error: Must use import to load ES Module</title>
      <dc:creator>Andi Rustianto</dc:creator>
      <pubDate>Thu, 23 Jun 2022 04:37:28 +0000</pubDate>
      <link>https://dev.to/anditorx/how-to-fix-eslint-error-must-use-import-to-load-es-module-e2n</link>
      <guid>https://dev.to/anditorx/how-to-fix-eslint-error-must-use-import-to-load-es-module-e2n</guid>
      <description>&lt;p&gt;How to fix EsLint Error: Must use import to load ES Module&lt;/p&gt;

&lt;p&gt;1.Add eslint-parser in package.json, inside of devDependecies&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"@babel/eslint-parser": "^7.5.4",
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.Open .eslintrc.js file, and add eslint-parser&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;parser: '@babel/eslint-parser',
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>eslint</category>
      <category>react</category>
      <category>reactnative</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to fix Error: decorators-legacy - React Native</title>
      <dc:creator>Andi Rustianto</dc:creator>
      <pubDate>Thu, 23 Jun 2022 04:25:09 +0000</pubDate>
      <link>https://dev.to/anditorx/how-to-fix-error-decorators-legacy-react-native-45cl</link>
      <guid>https://dev.to/anditorx/how-to-fix-error-decorators-legacy-react-native-45cl</guid>
      <description>&lt;h2&gt;
  
  
  How to fix Error: decorators-legacy - React Native
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Experimental syntax 'decorators-legacy' isn't currently enabled
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;1.Install decorator in package.json&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/preset-flow": "^7.0.0"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.Update babe.config.js with this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;module.exports = {
  "presets": [
    "module:metro-react-native-babel-preset",
    "@babel/preset-flow"
  ],
  "plugins": [
    ["@babel/plugin-proposal-decorators", { "legacy" : true }],
    ["@babel/plugin-proposal-class-properties", { "loose" : true }],
  ]
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>reactnative</category>
      <category>errors</category>
      <category>bugfix</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
