Using a different manifestPlaceholder for each Build Variant

前端 未结 6 517
长发绾君心
长发绾君心 2020-12-09 03:01

I will start by saying that I am very new to Gradle, so I apologize if this has already been answered.

I\'m working on an Android application that uses an API key to

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 03:50

    What i did is copied current AndroidManifest.xml into app/src/debug

    and changed the key there debug Manifest :

     
    

    app/src/main Manifest is like :

    
    

提交回复
热议问题