微信SDK採用grade更新報錯

2021-09-26 10:50:29 字數 517 閱讀 1150

compile  'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
報錯資訊

warning: configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

it will be removed at the end of 2018. for more information see:

affected modules: wxapi

同步第三方架包 如: compile '***xx'(不怕編譯警告,使用這個)

建議用: implementation '***xx'(真實情況,使用這個同步會失敗)

或 api '***xx'(有強迫症,建議用這個)

報錯資訊解決。

微信群發sdk

2018.8.21 xucheng class wechatsendnews public function index data else 獲取token data 訊息json串 public function updateimage path,type else else 上傳 public ...

官方SDK微信分享

我這裡就給出分享 的方法,思路都是一樣的。首先建立物件,然後把這個物件放到乙個容器裡面,最後把這個容器分享出去。例如分享 的方法 首先建立分享 的物件 wxmusicobject musicobject new wxmusicobject 物件 musicobject.musicdataurl au...

微信sdk的使用

apis裡面是js介面列表。back是介面用wx.介面名。對應apis裡面的介面。使用wxapi的時候都呼叫一次 var init function apis,back 10 then db wx.ready export default showmenuitems title,imgurl,spi...