qq_28195487 2016-04-25 12:15 采纳率: 28.6%
浏览 5003

求大神帮忙!!!1请使用 -Xlint:deprecation 重新编译。

源程序:
public class ActivityMain extends ActivityFrame {

private GirdView gvAppGrid;
private AdapterAppGrid mAdapterAppGrid;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    AppendMainBody(R.layout.main_body);
             public void InitVariable() {
    mAdapterAppGrid= new AdapterAppGrid(this);

}

public void InitView() {
    gvAppGrid = (GridView) findViewById(R.id.gvAppGrid);

}

public void InitListeners() {

}

public void BindData() {
    gvAppGrid.setAdapter(mAdapterAppGrid);

}

log错误提示:

D:\AndroidStudioProjects\GoDutch\app\src\main\java\com\example\rong\godutch\Activity\ActivityMain.java
Error:(15, 13) 错误: 找不到符号
符号: 类 GirdView
位置: 类 ActivityMain
注: D:\AndroidStudioProjects\GoDutch\app\src\main\java\com\example\rong\godutch\Activity\ActivityFrame.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
1 个错误
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • 写回答

1条回答

  • devmiao 2016-04-25 21:30
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献