title: Trouble Publishing Android Studio Library on jCenter with Bintray
body: <p>I'm following this tutorial to publish an example Android Studio library on Jcenter:</p>
  
  <p><strong><em><a href="http://crushingcode.co/publish-your-android-library-via-jcenter/" rel="nofollow">http://crushingcode.co/publish-your-android-library-via-jcenter/</a></em></strong></p>
  
  <p>It seems very clear.
  I've created my GitHub repository with this library at this link:</p>
  
  <p><strong><em><a href="https://github.com/alessandroargentieri/mylibview" rel="nofollow">https://github.com/alessandroargentieri/mylibview</a></em></strong></p>
  
  <p>I've also Signed in to Bintray.com, and created a new repository which must contain my library (as explained in the tutorial above).</p>
  
  <p>To publish a repository on Bintray I must create an organisation, then you create the repository. So these are my data:</p>
  
  <p>Bintray username:  <strong>alessandroargentieri</strong> <br/>
  organisation:      <strong>alexmawashi</strong> <br/>
  repository:        <strong><a href="https://bintray.com/alexmawashi/my_android_repository" rel="nofollow">https://bintray.com/alexmawashi/my_android_repository</a></strong><br/></p>
  
  <p>then, in Android Studio, in the gradle file of my library module, I've this data:</p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  ext {
      bintrayRepo = 'my_android_repository'       //maven
      bintrayName = 'mylibview'   // Has to be same as your library module name
  
      publishedGroupId = 'mawashi.alex.mylittlelibrary'
      libraryName = 'MyLibView'
      artifact = 'mylibview'     // Has to be same as your library module name
  
      libraryDescription = 'Android Library to use a custom view'
  
      // Your github repo link
      siteUrl = 'https://github.com/alessandroargentieri/mylibview'
      gitUrl = 'https://github.com/alessandroargentieri/mylibview.git'
      githubRepository= 'alessandroargentieri/mylibview'
  
      libraryVersion = '1.0'
  
      developerId = 'alexmawashi'
      developerName = 'Alessandro Argentieri'
      developerEmail = 'alexmawashi87@gmail.com'
  
      licenseName = 'The Apache Software License, Version 2.0'
      licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
      allLicenses = ["Apache-2.0"]
  }
  ...
  ...
  apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/installv1.gradle'
  apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/bintrayv1.gradle'
  </code></pre>
  
  <p>When I use the terminal and write:
  <strong><code>gradlew clean build install bintrayUpload --stacktrace</code></strong></p>
  
  <p>After a few minutes, I get this error:</p>
  
  <pre><code> What went wrong:
  Execution failed for task ':mylittlelibrary:bintrayUpload'.
  &gt; Could not create package 'alessandroargentieri/my_android_repository/mylibview': HTTP/1.1 404 Not Found [message:Repo 'my_android_repository' was not found]
  </code></pre>
  
  <p>What am I doing wrong?
  Thanks.</p>