<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mikhael Lopez on Medium]]></title>
        <description><![CDATA[Stories by Mikhael Lopez on Medium]]></description>
        <link>https://medium.com/@lopspower?source=rss-eac5fe2e97d1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4N2N2HLGE38Li1T6R0YdYg.jpeg</url>
            <title>Stories by Mikhael Lopez on Medium</title>
            <link>https://medium.com/@lopspower?source=rss-eac5fe2e97d1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:48:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lopspower/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Publish your Android library to jCenter]]></title>
            <link>https://lopspower.medium.com/publish-your-android-library-to-jcenter-5c6df287db11?source=rss-eac5fe2e97d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c6df287db11</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android-libraries]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Mikhael Lopez]]></dc:creator>
            <pubDate>Mon, 23 Jul 2018 07:40:48 GMT</pubDate>
            <atom:updated>2020-01-18T22:43:18.154Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4olQprAu7Bufv2Y8WemX2w.jpeg" /></figure><p>This article is going to present you how to publish an <strong>Android Library</strong> (AAR) on <strong>jCenter</strong>.</p><p>As an example, I will take a simple library that I created and that is available on GitHub: <a href="https://github.com/lopspower/CircularImageView"><strong>CircularImageView</strong></a></p><h3>1. Create your library on Android Studio</h3><p>The first step is to create a library under <strong>Android Studio</strong>.<br>In order to do that, I recommend you to create a new project so you’ll keep the app module that will serve as a demo for your library.</p><p>Then you must create a new <strong>Android Library</strong> module:</p><ul><li>Click <strong>File</strong> &gt; <strong>New </strong>&gt;<strong> New Module</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Ba6fDQHGrbQca4yT5_4Ddw.png" /></figure><ul><li>Choose <strong>Android Library</strong> and click <strong>Next</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3mo4F_yVw65NqIW6BU4ptQ.png" /></figure><ul><li>Configure your library module</li></ul><p>The name of the module is important (not the library’s name). Indeed, it will be your artifactId: groupId:artifactId:version. It’s recommended to choose a name that defines precisely your library and write it in lower case only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*gWWPeKF96xHDeVvShAUw1w.png" /></figure><h3>2. Register to Bintray</h3><p>You have to create an Open Source account on the <strong>JFrog Bintray</strong> platform. It will be the platform that will host your library and make it accessible from the official <strong>jCenter</strong> servers: <a href="https://bintray.com/signup/oss"><strong>Sign Up to an Open Source account</strong></a></p><ul><li>Keep your <strong>username</strong> in mind, it will be required later. In my case I choosed <strong>lopspower</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/348/1*Cq1de7MeNv0i-rtdkd9Xcw.png" /></figure><ul><li>From <a href="https://bintray.com/profile/edit"><strong>Profile url</strong></a> &gt; <strong>Api Key</strong> &gt; you’ll be able to find your <strong>Bintray Api Key.</strong> Simply copy it so you can use later.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-QzXOsxEXhhZGLVKjH6jXQ.png" /></figure><ul><li>From <a href="https://bintray.com/"><strong>Main page</strong></a> / click to <strong>Add New Repository</strong> to create your maven repository and fill the form<strong>:</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bEEgL0DwAlxpCZ_qK4Bdog.png" /></figure><h3>3. Configure your Library with Bintray plugin</h3><ul><li>Add <a href="https://github.com/bintray/gradle-bintray-plugin"><strong>Bintray Plugin</strong></a> in your project. For that update your project build.gradle like this:</li></ul><pre>buildscript {<br>  repositories {<br>    //...<br>    jcenter()<br>  }<br>  dependencies {<br>    //...<br>    classpath &#39;<strong>com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1</strong>&#39;<br>  }<br>}</pre><pre>//...</pre><ul><li>Now in the build.gradle of your library module add under <br>apply plugin: &#39;com.android.library&#39; the next two plugins:</li></ul><pre>apply plugin: &#39;<strong>com.jfrog.bintray</strong>&#39;<br>apply plugin: &#39;<strong>maven-publish</strong>&#39;</pre><ul><li>Add to the local.properties as the root of the project the following lines:</li></ul><pre>bintray.user=&lt;your bintray username&gt;<br>bintray.apikey=&lt;your bintray api key&gt;</pre><blockquote>Warning: Remember that this file should <strong>NEVER</strong> be uploaded on your public repository. For that, add this line in your .gitignore:</blockquote><pre>//...<br>local.properties</pre><ul><li>Then add the next block at the end of your build.gradle:</li></ul><blockquote>Warning: Don’t forget to update all references to my example <strong>“circularimageview”</strong> by your own library (groupId, artifactId, version, description, licenses &amp; version control URL).</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/766b6a7150e6bb1225c0ad8750101730/href">https://medium.com/media/766b6a7150e6bb1225c0ad8750101730/href</a></iframe><h3>4. Publish your library</h3><p>Generate now your library’s AAR in Release.</p><ul><li>To do this, change the <strong>Build Variants</strong> from debug to release</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*TfOthBJF6Hv23PE_kX5qrA.png" /></figure><ul><li>Click <strong>Build</strong> &gt; <strong>Rebuild Project</strong> to generate AAR. Check if it has well been generated:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*w77DFE90iQr8-hI1ydMDJg.png" /></figure><ul><li>Open <strong>Terminal</strong> in your Android Studio and execute:</li></ul><pre>./gradlew bintrayUpload</pre><blockquote>Warning: If you don’t have permission to execute gradlew : $ chmod +x gradlew</blockquote><ul><li>From <a href="https://bintray.com/"><strong>Bintray</strong></a> &gt; <strong>My Recent Packages</strong> &gt; <strong>com.mikhaellopez:circularimageview</strong> &gt; <strong>Add to Jcenter</strong> &gt; <strong>Check the box</strong> → Group Id = “com.mikhaellopez”.</li></ul><p>This will request a review and public listing of your library on jCenter repository. This request can be quite long. You will receive a confirmation email but you can check <a href="https://jcenter.bintray.com/com/"><strong>jcenter.bintray.com</strong></a> to see if the synchronization has succeeded.</p><h3>5. Import your library</h3><p>Now you can import your library with <strong>jCenter</strong> like that:</p><ul><li>build.gradle (Project):</li></ul><pre>allprojects {<br>    repositories {<br>        <strong>jcenter()</strong><br>    }<br>}</pre><ul><li>build.gradle (Module):</li></ul><pre>dependencies {<br>    compile &#39;<strong>com.mikhaellopez:circularimageview:3.1.0</strong>&#39;<br>}</pre><h3>Conclusion</h3><p>Now, you’ll be able write and deploy your own open source libraries as you like. Don’t forget to regenerate a new version of your <strong>AAR in Release</strong> between each library update and to go on your library page on <strong>Bintray</strong> to publish the new version.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c6df287db11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improve your experience on Android Studio]]></title>
            <link>https://proandroiddev.com/improve-your-experience-on-android-studio-c8aeb25e80f?source=rss-eac5fe2e97d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8aeb25e80f</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-studio]]></category>
            <dc:creator><![CDATA[Mikhael Lopez]]></dc:creator>
            <pubDate>Tue, 10 Jul 2018 14:12:31 GMT</pubDate>
            <atom:updated>2018-07-13T08:51:02.025Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZEZdLLMxj9UsPa6Q5zlAFQ.jpeg" /></figure><p>Android Studio is our daily tool. It is essential to have the best experience while coding. So here is a list of simple customization tips for your favorite IDE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*re70xDFjuZShZ3thT3D1fQ.gif" /></figure><h3>1. Increase Android Studio memory</h3><p>By default the <strong>RAM</strong> allocated to the IDE is <strong>1280MB</strong>. If you’re an Android Developer and your machine allows it, it is strongly recommended to increase it. Especially if you happen to launch several projects simultaneously and thus several instances of Android Studio.</p><ul><li>Click <strong>Help</strong> &gt; <strong>Edit Custom VM Options</strong> to open your studio.vmoptions file.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*w8p4YZIGosirbE1ydWdiRg.png" /><figcaption>edit vm options</figcaption></figure><ul><li>Change the default value of Xmx &amp; XX:MaxPermSize</li></ul><pre>-Xmx1280m<br>-XX:MaxPermSize=350m</pre><p>Increase from <strong>1280m</strong> to <strong>4096m</strong> &amp; increase MaxPermSize from <strong>350m</strong> to <strong>1024m</strong>:</p><pre>-Xmx4096m<br>-XX:MaxPermSize=1024m</pre><ul><li>Save your changes to the studio.vmoptions file, and restart Android Studio for your changes to take effect.</li></ul><h3>2. Show memory indicator on Android Studio</h3><p>After increasing the <strong>RAM</strong> of your IDE, it can be interesting to display it to know exactly what is used in real time but also to be able to <strong>clear it in a simple click</strong>.</p><ul><li>Click <strong>Preferences</strong> &gt; <strong>Appearance &amp; Behavior</strong> &gt; <strong>Appearance</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*KFZmfAeILEuQ6zzilC6stg.png" /><figcaption>appearance section</figcaption></figure><ul><li>In <strong>Window Options</strong> section, enable <strong>Show memory indicator</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*P4oMVvZmoZW7Lxf6KSB1eQ.png" /><figcaption>enable memory indicator</figcaption></figure><ul><li>You can now see the <strong>memory indicator</strong> at the bottom right of Android Studio.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*NGb-NnYFIXMkpnmhm1u7lQ.png" /><figcaption>memory indicator</figcaption></figure><h3><strong>3. Custom Logcat Color</strong></h3><p>Logs are often unreadable in the Android Studio Logcat. There are only <strong>two different colors</strong> to differentiate the <strong>6 types of logs</strong>: Assert, Debug, Error, Info, Verbose and Warning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*G1mIBwx5mplF4m8H71yZ_w.png" /><figcaption>default log color</figcaption></figure><p>This is why I propose you a new list of personalization allowing to improve considerably the readability of your logs.</p><p>To change the color of a log type we need to simply deselect <strong>“Inherit values from:”</strong> and change the color from the picker:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4bd-1NpKbbfMze6cwkTYqw.png" /><figcaption>Change color of log type</figcaption></figure><p>Here is the list of colors by log type that I recommend:</p><ul><li><strong>DEBUG</strong>: #3D9D2A</li><li><strong>ERROR</strong>:#D80D15</li><li><strong>INFO</strong>:#B7AB4C</li><li><strong>WARN</strong>:#BB4767</li></ul><p>Here is the result after the color change:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*exsYPvugxD3BLSzgrltM1A.png" /><figcaption>custom log color</figcaption></figure><h3><strong>4. File and code templates</strong></h3><p>Here is one of my favorite features of Android Studio that is not enough used: <strong>File and Code Templates</strong>.</p><ul><li>Click <strong>Preferences</strong> &gt; <strong>Editor </strong>&gt; <strong>File and Code Templates</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*BpkrNbgiJY5VlyxumlZ5pQ.png" /><figcaption>file and code templates</figcaption></figure><ul><li>Click on <strong>+</strong> to create your custom code templates.</li></ul><p>Example, <strong>RecyclerViewAdapter i</strong>n Kotlin:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZBHPqiJ55ZV-udi3aJKi4Q.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/076c7d08e95980525128b9ca6f0b7947/href">https://medium.com/media/076c7d08e95980525128b9ca6f0b7947/href</a></iframe><ul><li>Now <strong>Right click</strong> where you want to create a new file with your template. Click <strong>New</strong> &gt; <strong>YourTemplate</strong> (here is <strong>RecyclerViewAdapter)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90OEu19dHAjZ6Z9bn1Wu3Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*_co5KsQD3mbU7tk4mT0fzw.png" /></figure><h3>Conclusion</h3><p>Android Studio is based on <a href="https://en.wikipedia.org/wiki/IntelliJ_IDEA">IntelliJ IDEA</a> which offers many options. There are many options to improve your everyday use. Taking the time to understand how to use your IDE is as important as how you code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8aeb25e80f" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/improve-your-experience-on-android-studio-c8aeb25e80f">Improve your experience on Android Studio</a> was originally published in <a href="https://proandroiddev.com">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>