message: handle the case where getResourceName failed
  Summary: When getResourceName failed, the struct `name` here will be empty and we should handle it.
diff: @@ -951,12 +951,14 @@ ResourcesArscFile::ResourcesArscFile(const std::string& path)
  uint32_t id = sorted_res_ids[index];
  android::ResTable::resource_name name;
  res_table.getResourceName(id, true, &name);
  + if (name.name8 != nullptr) {
  std::string name_string(
  android::String8(name.name8, name.nameLen).string());
  id_to_name.emplace(id, name_string);
  name_to_ids[name_string].push_back(id);
  }
  }
  +}
  size_t ResourcesArscFile::get_length() const { return m_arsc_len; }
  