为什么我的代码中的图片网址与Firebase中的图片网址不同?

时间:2018-12-19 18:14:33

标签: android image android-glide

我的代码中的图片网址-https://firebasestorage.googleapis.com/v0/b/fir-tutorial-93465.appspot.com/o?name=User_Images%2F86461&uploadType=resumable&upload_id=AEnB2UrFNN1VjeknIL2f7KYGTvEsTFi9aWqDVTd2BhmxOK2CFm_A2Seo5CTKCDDacc51AHJwAkvkjMwTLzlQAxi9dZkugnkE1Q&upload_protocol=resumable

Firebase的图片网址-https://firebasestorage.googleapis.com/v0/b/fir-tutorial-93465.appspot.com/o/User_Images%2F86461?alt=media&token=652fefaa-6d22-4e02-a33e-5fdb1aaa8112

为什么我的代码中的URL更改了?我被困在这里。代码-

公共类ShowData扩展了AppCompatActivity {

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
  <id>custom-descriptor</id>
  <formats>
    <format>jar</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <dependencySets>
    <dependencySet>
      <outputDirectory>/</outputDirectory>
      <useProjectArtifact>true</useProjectArtifact>
      <unpack>true</unpack>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>

  <!-- You need to add following to your current descriptor -->
  <fileSets>
    <fileSet>
      <directory>${project.build.directory}/../../lib/target</directory>
      <outputDirectory>lib</outputDirectory>
      <includes>
        <include>*.so</include>
      </includes>
    </fileSet> 
  </fileSets>

</assembly>

}

0 个答案:

没有答案